Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ResultSet.isLast not supported - but need to know

davidthi808-JavaNetOct 7 2010 — edited Oct 15 2014
Hi;

I have a case where ResultSet.isLast is not supported (Sql Server JDBC driver when reading a stored procedure). I need to know if I am on the last ResultSet, but I still need to read from the ResultSet I am on after checking. Is there any way to do this? Maybe hold on to one ResultSet and call ResultSet.next() to see if the next exists?

thanks - dave
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2010
Added on Oct 7 2010
23 comments
664 views