Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.17 KB

File metadata and controls

39 lines (29 loc) · 1.17 KB
title getAutoCommit Method (SQLServerConnection)
description getAutoCommit Method (SQLServerConnection)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerConnection.getAutoCommit
apitype Assembly

getAutoCommit Method (SQLServerConnection)

[!INCLUDEDriver_JDBC_Download]

Retrieves the current auto-commit mode for this SQLServerConnection object.

Syntax

  
public boolean getAutoCommit()  

Return Value

true if auto-commit mode is enabled, false if it is not.

Exceptions

SQLServerException

Remarks

This getAutoCommit method is specified by the getAutoCommit method in the java.sql.Connection interface.

See Also

SQLServerConnection Members
SQLServerConnection Class