posted 19 years ago
Hello,
I am doing pagging with oracle scrollable resultset.
I have a query "select * from (complex subquery here) where rownum<=20" and I am using the oracle thin driver scrollable resultset and point to rs.absolute(1) to expect getting the 20 records. However the first record is always missing(only the 2nd-20th rows returned). If I changed the rs.absolute(1) to rs.beforeFirst(), then all the 20 records returned.
Can someone point to me what my problem could be? Why the absolute(1) not working correctly?
Thanks