getTransactionIsolation()

Syntax:

int getTransactionIsolation() throws SQLException

Description:

Retrieves this Connection object's current transaction isolation level.

Returns:

the current transaction isolation level, which will be one of the following constants: Connection.TRANSACTION_READ_UNCOMMITTED, Connection.TRANSACTION_READ_COMMITTED, Connection.TRANSACTION_REPEATABLE_READ, Connection.TRANSACTION_SERIALIZABLE, or Connection.TRANSACTION_NONE.

Throws:

SQLException - if a database access error occurs

Reference:

For more information, reference JDBC documentation for: Connection.getTransactionIsolation()