8.1.6 getResultSet()
- Organization of this subsection
(1) Function
This method acquires a result set containing all array elements of an array-type column.
(2) Format
public synchronized ResultSet getResultSet() throws SQLException
(3) Arguments
None.
(4) Return value
This method returns a ResultSet object containing the array data.
(5) Exceptions
The JDBC driver throws an SQLException in the following cases:
-
The ResultSet object that created this Array object is closed.
This scenario also includes cases where the ResultSet object was closed because the Statement object that created this ResultSet object was closed.
-
The Connection object used to create the Statement object has been closed.
-
The ResultSet object has become invalid due to transaction settlement.
-
An error occurred in the JDBC driver.