8.3.27 getResultSetHoldability()
- Organization of this subsection
(1) Function
This method acquires the holdability of the ResultSet object that is created from this Statement object.
(2) Format
public synchronized int getResultSetHoldability() throws SQLException
(3) Arguments
None.
(4) Return value
The method always returns ResultSet.HOLD_CURSORS_OVER_COMMIT.
(5) Exceptions
The JDBC driver throws an SQLException in the following cases:
-
The Statement object is closed.
-
The Connection object that created the Statement object is closed.