Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

setTransactionIsolation Method (SQLServerConnection)

Tries to change the transaction isolation level for this SQLServerConnection object to the one given.


public void setTransactionIsolation(int level)

Parameters

level

An int value that contains one of the following isolation levels:

TRANSACTION_READ_UNCOMMITTED

TRANSACTION_READ_COMMITTED

TRANSACTION_REPEATABLE_READ

TRANSACTION_SERIALIZABLE

TRANSACTION_SNAPSHOT = 0x1000

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

Transactions are not committed if this method is called in the middle of a transaction.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.