Statement.getMoreResults
Interface Overview | Interface Members |
This Package |
All Packages
public abstract boolean getMoreResults() throws SQLException
Returns
true if the next result is a ResultSet; false if it is
an update count or there are no more results
Description
getMoreResults moves to a Statement's next result. It returns true if
this result is a ResultSet. getMoreResults also implicitly
closes any current ResultSet obtained with getResultSet.
There are no more results when (!getMoreResults() &&
(getUpdateCount() == -1)
Exceptions
SQLException
if a database-access error occurs.
See Also
execute