getDefaultTransactionIsolation Method (SQLServerDatabaseMetaData)

Download JDBC driver

Retrieves the default transaction isolation level for this database.

Syntax

  
public int getDefaultTransactionIsolation()  

Return Value

An int that indicates the default transaction isolation level.

Exceptions

SQLServerException

Remarks

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

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

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class