title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | apilocation | apiname | apitype |
---|---|---|---|---|---|---|---|---|---|---|
getDefaultTransactionIsolation Method (SQLServerDatabaseMetaData) |
getDefaultTransactionIsolation Method (SQLServerDatabaseMetaData) |
David-Engel |
davidengel |
01/19/2017 |
sql |
connectivity |
reference |
sqljdbc.jar |
SQLServerDatabaseMetaData.getDefaultTransactionIsolation |
Assembly |
[!INCLUDEDriver_JDBC_Download]
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 [!INCLUDEjdbcNoVersion] with a [!INCLUDEssNoVersion] database, this method returns either a value of TRANSACTION_READ_COMMITTED, or the int value 2.
SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class