8.3.23 getMoreResults()
- Organization of this subsection
(1) Function
This method moves to the next result set.
(2) Format
public synchronized boolean getMoreResults() throws SQLException
(3) Arguments
None.
(4) Return value
If there is another result set, the method returns true; if not, the method returns false.
(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.