setTransactionIsolation Method (SQLServerConnection)
Tries to change the transaction isolation level for this SQLServerConnection object to the one given.
Syntax
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
Exceptions
Remarks
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.
See Also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za