Retrieves the default holdability of result sets for this database.

public int getResultSetHoldability()

Return Value

An integer that indicates the default holdability.

Exceptions

SQLServerException

Remarks

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.

See Also