Last Updated: June 6, 2026
The previous two lessons showed how to run SELECT queries with Statement and PreparedStatement. Both hand you back a ResultSet, which is the cursor over the rows your query produced. This lesson is about everything you do with that cursor: walking through rows, pulling typed values out of columns, detecting nulls, scrolling backwards, updating rows in place, inspecting column metadata, and streaming results that would not fit in memory.