Επεξεργασία

Κοινή χρήση μέσω


supportsResultSetHoldability Method (SQLServerDatabaseMetaData)

Download JDBC driver

Retrieves whether this database supports the given result set holdability.

Syntax

  
public boolean supportsResultSetHoldability(int holdability)  

Parameters

holdability

An int that indicates the result set holdability, which can be one of the following values:

ResultSet.HOLD_CURSORS_OVER_COMMIT

ResultSet.CLOSE_CURSORS_AT_COMMIT

Return Value

true if supported. Otherwise, false.

Exceptions

SQLServerException

Remarks

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

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class