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.

Note: This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

Syntax

public boolean autoCommitFailureClosesAllResultSets()

Return Value

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.

Exceptions

SQLServerException

Remarks

This autoCommitFailureClosesAllResultSets method is specified by the autoCommitFailureClosesAllResultSets method in the java.sql.DatabaseMetaData interface.

See Also

SQLServerDatabaseMetaData Class
SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members