Retrieves the default transaction isolation level for this database.

public int getDefaultTransactionIsolation()

Return Value

An integer 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 SQL Server 2005 JDBC Driver with a SQL Server database, this method returns either a value of TRANSACTION_READ_COMMITTED, or the integer value 2.

See Also