| title | getAutoCommit Method (SQLServerConnection) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | af1f67f4-f568-4e58-abcc-5c809a89b547 | |
| author | David-Engel | |
| ms.author | v-daenge |
[!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.