JDBC Tutorials - Herong's Tutorial Notes
Dr. Herong Yang, Version 2.11

Java DB (Derby) - ResultSet Objects of Queries

This chapter provides tutorial notes on JDBC ResultSet with Java DB (Derby) JDBC Driver. Topics include ResultSet cursor, scrollable, and update capability; getString() and updateString() methods; updateRow(), insertRow(), and deleteRow() methods.

What Is ResultSet?

ResultSet Cursor and Scrollability

ResultSet Cursor Initial Position: Before First Row

Retrieving Column Values with getXXX() Methods

ResultSet Default Type: Forward-only

Scrollable ResultSet and Moving Cursor Backward

ResultSet Objects with Update Capability

insertRow() - Inserting New Rows through ResultSet Objects

updateXXX() - Updating Column Values for Row Update or Insert

deleteRow() - Deleting Rows through ResultSet Objects

Dr. Herong Yang, updated in 2007
Java DB (Derby) - ResultSet Objects of Queries