Methods' Summary |
getResultSet |
returns the current result as a
ResultSet
object.
This method should be called only once per result.
|
getUpdateCount |
returns the current result as an update count.
|
getMoreResults |
moves to a Statement's next result. It returns true if
this result is a ResultSet. This method also implicitly
closes any current ResultSet obtained with getResultSet.
|
Methods' Details |
getResultSet
- Description
- returns the current result as a
ResultSet
object.
This method should be called only once per result.
- Returns
- the ResultSet object
- Throws
- SQLException
if a database access error occurs.
|
|
getUpdateCount
- Description
- returns the current result as an update count.
If the result is a ResultSet or there are no more results, -1
is returned. This method should be called only once per result.
- Returns
- the current result as an update count.
- Throws
- SQLException
if a database access error occurs.
|
|
getMoreResults
- Description
- moves to a Statement's next result. It returns true if
this result is a ResultSet. This method also implicitly
closes any current ResultSet obtained with getResultSet.
There are no more results when (!getMoreResults() &&
getUpdateCount() == -1) .
- Returns
- true if there exists more ResultSet objects
- Throws
- SQLException
if a database access error occurs.
|
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.