How can I update a ResultSet programmatically?
When we say updating we may simply mean updating a record, inserting a record or deleting a record from a ResultSet and then accepting the change to the underlying table. Before getting in to the sample code we must know that all conditions applied to creating an updatable ResultSet apply here as well. To update a record in the ResultSet we need to move the cursor over the record and then use the setXXX methods to update the columns.