fromJdbcValue

Maps a JDBC isolation level integer to the corresponding TransactionIsolationLevel.

Return

The matching TransactionIsolationLevel.

Parameters

level

The JDBC isolation level constant.

Throws

INVALID_ARGUMENT where level is not one of the four - which is what setTransactionIsolation raises for the same value going the other way.