Resultset
ResultSet In JDBC, the ResultSet interface represents the result set of a query. It provides methods to read data returned by a query, typically from a SELECT statement. A ResultSet is created by executing a query using the Statement or PreparedStatement objects, and it allows navigation and extraction of data from the result. Types of ResultSet Forward-only: This is the default type, where you can only move the cursor forward through the result set. Created with: Statement statement = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); Scrollable: ...