| title | Does JDBC Driver Close Open Result Sets |
|---|---|
| description | autoCommitFailureClosesAllResultSets Method (SQLServerDatabaseMetaData) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
[!INCLUDEDriver_JDBC_Download]
Indicates whether the JDBC driver closes all the open result sets, including the holdable ones, when an auto-commit is enabled and an exception is raised.
public boolean autoCommitFailureClosesAllResultSets()
true if all the open result sets, including the holdable ones, are closed when an auto-commit is enabled and an exception is raised. Otherwise, false.
This autoCommitFailureClosesAllResultSets method is specified by the autoCommitFailureClosesAllResultSets method in the java.sql.DatabaseMetaData interface.
SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class