Result Set After Last Row Sql Exception. A ResultSet cursor is initially positioned before the first row. When a call to the next method returns false the cursor is positioned after the last row.
There is no valid current row and you cannot position relatively from this point. The following table lists few of the important pre-defined exceptions. Result set after last row.
Whenever I try to retrieve the value of STATUS I keep on getting the following error.
Within a row column values can be accessed in any order. Java ResultSet interface is a part of the javasql package. ResultSet maintains cursorpointer which points to a single row of the query results. Initially the cursor is positioned before the first row.