| 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 |
[!INCLUDEDriver_JDBC_Download]
Retrieves the current auto-commit mode for this SQLServerConnection object.
public boolean getAutoCommit()
true if auto-commit mode is enabled, false if it is not.
This getAutoCommit method is specified by the getAutoCommit method in the java.sql.Connection interface.