title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | apilocation | apiname | apitype |
---|---|---|---|---|---|---|---|---|---|---|
getTransactionIsolation Method (SQLServerConnection) |
getTransactionIsolation Method (SQLServerConnection) |
David-Engel |
davidengel |
01/19/2017 |
sql |
connectivity |
reference |
sqljdbc.jar |
SQLServerConnection.getTransactionIsolation |
Assembly |
[!INCLUDEDriver_JDBC_Download]
Retrieves the current transaction isolation level of this SQLServerConnection object.
public int getTransactionIsolation()
An int value that contains one of the following isolation levels:
TRANSACTION_NONE
TRANSACTION_READ_UNCOMMITTED
TRANSACTION_READ_COMMITTED
TRANSACTION_REPEATABLE_READ
TRANSACTION_SERIALIZABLE
TRANSACTION_SNAPSHOT = 0x1000
This getTransactionIsolation method is specified by the getTransactionIsolation method in the java.sql.Connection interface.