I am trying to find a way that I would know if I am on the last line of my result set and found the isLast () method.
I did something like:
if(rs.isLast()) { //do some operation here }
But this causes me an error: the requested operation is not supported only for forward result sets.
I was looking for a solution, and he said that I should change TYPE_FORDWARD_ONLY. But right now I was wondering if there is a way to find out if I hit the last entry using TYPE_FORWARD_ONLY?
Thanks.
source share