Connection.setTransactionIsolation

Connection.setTransactionIsolation

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract void setTransactionIsolation( int level ) throws SQLException
Parameters
level
one of the TRANSACTION_* isolation values with the exception of TRANSACTION_NONE; some databases may not support other values
Description
You can call this method to try to change the transaction isolation level using one of the TRANSACTION_* values.

Note: setTransactionIsolation cannot be called while in the middle of a transaction.

Exceptions
SQLException if a database-access error occurs.
See Also
supportsTransactionIsolationLevel