Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.48 KB

File metadata and controls

52 lines (36 loc) · 1.48 KB
title getTransactionIsolation Method (SQLServerConnection)
description getTransactionIsolation Method (SQLServerConnection)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerConnection.getTransactionIsolation
apitype Assembly

getTransactionIsolation Method (SQLServerConnection)

[!INCLUDEDriver_JDBC_Download]

Retrieves the current transaction isolation level of this SQLServerConnection object.

Syntax

  
public int getTransactionIsolation()  

Return Value

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

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerConnection Members
SQLServerConnection Class