supportsResultSetHoldability Method (SQLServerDatabaseMetaData)

Retrieves whether this database supports the given result set holdability.


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

true if supported. Otherwise, false.

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

Show: