Hitachi

Hitachi Advanced Database Application Development Guide


8.2.17 getHoldability()

Organization of this subsection

(1) Function

This method acquires the current holdability of the ResultSet object that is created by using this Connection object.

(2) Format

public synchronized int getHoldability() throws SQLException

(3) Arguments

None.

(4) Return value

The method always returns ResultSet.HOLD_CURSORS_OVER_COMMIT.

(5) Exceptions

If this Connection object is closed, the JDBC driver throws an SQLException.