getResultSetHoldability()

Syntax:

int getResultSetHoldability()
                            throws SQLException

Description:

Retrieves this database's default holdability for ResultSet objects.

Returns:

the default holdability; either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT

Throws:

SQLException - if a database access error occurs