741 B
741 B
layout, title, header, resource, previoustitle, previous, nexttitle, next
layout | title | header | resource | previoustitle | previous | nexttitle | next |
---|---|---|---|---|---|---|---|
default_docs | Using the ResultSet Interface | Chapter 5. Issuing a Query and Processing the Result | media | Using the Statement or PreparedStatement Interface | statement.html | Performing Updates | update.html |
The following must be considered when using the ResultSet
interface:
- Before reading any values, you must call
next()
. This returns true if there is a result, but more importantly, it prepares the row for processing. - You must close a
ResultSet
by callingclose()
once you have finished using it. - Once you make another query with the
Statement
used to create aResultSet
, the currently openResultSet
instance is closed automatically.