previous
|
start
|
next
Analyzing Query Results
Use the
next
method of the
ResultSet
to iterate through the query results a row at a time
When a result set is first returned from an
executeQuery
, no row data are available
Use the
next
method to move to the first row
The
next
method returns a boolean value indicating whether more rows of data are available
while (result.next()) { //inspect column data from the current row }
previous
|
start
|
next