Resultset Class In Java. Move cursor to the last row. Note that a ResultSet is a forward-only stream only so depending on how the methods are called and interacted with it is possible to return partial bits of the total response eg.
Next method returns false when the cursor reached at the last row and the previous method moves the cursor to the previous row. You can rate examples to help us improve the quality of examples. The ResultSet object holds the tabular data returned by the methods that execute the statements which quires the database executeQuery method of the Statement interface in general.
Sql SELECT id first last age FROM Employees.
Move cursor to the last row. It is one of the core components of the JDBC Framework. 6 public boolean relativeint row. ResultSet provides next method to move cursor in forward direction.