Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.45 KB

File metadata and controls

37 lines (27 loc) · 1.45 KB
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

autoCommitFailureClosesAllResultSets Method (SQLServerDatabaseMetaData)

[!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.

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 Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class