java.sql.Statement interface: JDBC 4.0 features Pooling support Validity tracking

's Statements implement the following new metadata methods added by JDBC 4.0.

  • Pooling support - JDBC 4.0 adds new methods to help application servers manage pooled Statements: isPoolable and setPoolable.
  • Validity tracking - JDBC 4.0 lets you track the validity of a Statement through the new isClosed method.