共用方式為


getDefaultTransactionIsolation Method (SQLServerDatabaseMetaData)

Retrieves the default transaction isolation level for this database.

public int getDefaultTransactionIsolation()

傳回值

An int that indicates the default transaction isolation level.

例外狀況

SQLServerException

備註

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 int value 2.

另請參閱

參考

SQLServerDatabaseMetaData Class

概念

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members