autoCommitFailureClosesAllResultSets()

boolean autoCommitFailureClosesAllResultSets() throws SQLException

Retrieves whether a SQLException while autoCommit is true indicates that all open ResultSets are closed, even ones that are holdable. When a SQLException occurs while autocommit is true, it is vendor specific whether the JDBC driver responds with a commit operation, a rollback operation, or by doing neither a commit nor a rollback. A potential result of this difference is in whether or not holdable ResultSets are closed.

Returns:

true if so; false otherwise

Throws:

SQLException - if a database access error occurs or the database metadata object is closed