Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Result Set method that returns all rows

 
Shein Zeya
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all..

I would like to know one thing that is ; is there a method of Result Set that returns all rows.I searched in documentations but cannot find it. Please do help me .
Thanks a lot.

Regards: Shein

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. You'd have to write a loop to get all the data out of a result set. A cached result set will return a result set disconnected from the database, but it is still a result set.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic