Retrieves the default holdability of result sets for this database.
public int getResultSetHoldability()
傳回值
An int that indicates the default holdability.
例外狀況
備註
This getResultSetHoldability method is specified by the getResultSetHoldability method in the java.sql.DatabaseMetaData interface.
When using the Microsoft SQL Server 2005 JDBC Driver with a SQL Server database, this methods returns 1, which is equivalent to the ResultSet.HOLD_CURSORS_OVER_COMMIT constant.
另請參閱
參考
SQLServerDatabaseMetaData Class
概念
SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members