Hitachi

Hitachi Advanced Database Application Development Guide


8.6.171 supportsTransactionIsolationLevel(int level)

Organization of this subsection

(1) Function

This method returns a value indicating whether a specified transaction isolation level is supported.

(2) Format

public synchronized boolean supportsTransactionIsolationLevel(int level) throws SQLException

(3) Arguments

int level

Specifies a transaction isolation level.

(4) Return value

boolean type:

true: Supported

false: Not supported

If Connection.TRANSACTION_READ_COMMITTED or Connection.TRANSACTION_REPEATABLE_READ is specified in level, the method returns true; otherwise, the method returns false.

(5) Exceptions

If this Connection object is closed before this method is executed, the JDBC driver throws an SQLException.