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