Java DB (Derby) - ResultSet Objects of Queries
<< JDBC Tutorials - Herong's Tutorial Notes
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
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