ResultSet object can be created using Statement, PreparedStatement & CallableStatement
We access the data in a ResultSet object through a cursor.
Note that this cursor is not a database cursor.
Cursor is a pointer that points to one row of data in the ResultSet, Initially, it is positioned before the first row.
The method ResultSet.next moves the cursor to the next row, it returns false if the cursor is positioned after the last row.
This method repeatedly calls the ResultSet.next method with a while loop to iterate through all the data in the ResultSet.
Follow me @
🌐 http://www.raviroza.com/
✍️ https://raviroza.wordpress.com/
✍️ https://raviroza.blogspot.com/
✍️ / ravi.oza.it
✍️ / raviozait
📹 / ravioza101
LinkedIN : www.linkedin.com/in/ravi-oza
#RaviROza #JavaEE #Gujarati