Result Set Values In Java. ResultSet provides next method to move cursor in forward direction. Next method returns false when the cursor reached at the last row and the previous method moves the cursor to the previous row.
And as I mentioned above this Java Generics and Collections book will help you dive deeper into Java collections framework. The term result set refers to the row and column data contained in a ResultSet object. Determine If a Fetched Value Is NULL.
ResultSet merupakan return value yang didapat apabila kita menjalankan SQL statement.
Next method returns false when the cursor reached at the last row and the previous method moves the cursor to the previous row. You know in JDBC a statement that executes a SQL SELECT query returns a result set represented by the javasqlResultSet object. The ResultSet interface provides getter methods getBoolean getLong and so on for retrieving column values from the current row. The Java enum type provides a language-supported way to create and use constant values.