8.6.24 getDefaultTransactionIsolation()
- Organization of this subsection
(1) Function
This method acquires the default transaction isolation level for this database.
(2) Format
public synchronized int getDefaultTransactionIsolation() throws SQLException
(3) Arguments
None.
(4) Return value
This method always returns Connection.TRANSACTION_READ_COMMITTED (the default transaction isolation level is READ COMMITTED).
(5) Exceptions
If this Connection object is closed before this method is executed, the JDBC driver throws an SQLException.