How can I determine whether a Statement and its ResultSet will be closed on a commit or rollback?
JDBC Interview Questions and Answers
(Continued from previous question...)
Use the DatabaseMetaData methods supportsOpenStatementsAcrossCommit() and supportsOpenStatementsAcrossRollback().
(Continued on next question...)
Other Interview Questions