SE452: JDBC: ResultSets [9/12] ![]() ![]() ![]() |
The ResultSet class
boolean next()When processing ResultSets, you will often see code like this:
while (rs.next()) {
// do something with row
}
For the current row, can get data by using
Type getType(int index)
Type getType(String name)