dcsimg

How can I determine whether a Statement and its ResultSet will be closed on a commit or rollback?

Joe Sam Shirah

Use the DatabaseMetaData methods supportsOpenStatementsAcrossCommit() and supportsOpenStatementsAcrossRollback().