Ad Code

Absolute method help to us to move cursor to any specific row


Absolute method help to us to move cursor to any specific row in result set. If we call absolute method and
give value-1 as argument which row our cursor will point after calling absolute(-1)?

For example, calling absolute(-1) positions the cursor on the last row; calling absolute(-2) moves the
cursor to next-to -last row, and so on.
-Throws Exception if ResultSet type is TYPE_FORWARD_ONLY
Reactions

Post a Comment

0 Comments