last public boolean last() throws SQLExceptionMoves the cursor to the last row in this ResultSet object. Returns: true if the cursor is on a valid row; false if there are no rows in the result set Throws: SQLException - if a database access error occurs or the result set type is TYPE_FORWARD_ONLY
con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
public boolean last()
throws SQLExceptionMoves the cursor to the last row in this ResultSet object. Returns:
true if the cursor is on a valid row; false if there are no rows in the result set
Throws:
SQLException - if a database access error occurs or the result set type is TYPE_FORWARD_ONLY