Expand Minimize
This topic has not yet been rated - Rate this topic

getDefaultTransactionIsolation Method (SQLServerDatabaseMetaData)

Retrieves the default transaction isolation level for this database.


public int getDefaultTransactionIsolation()

An int that indicates the default transaction isolation level.

This getDefaultTransactionIsolation method is specified by the getDefaultTransactionIsolation method in the java.sql.DatabaseMetaData interface.

When using the Microsoft SQL Server JDBC Driver with a SQL Server database, this method returns either a value of TRANSACTION_READ_COMMITTED, or the int value 2.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.