Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Resultset  RSS feed

 
Muralidhar Gandepalli
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody tell me what is holdability of resultset?.That how many rows can a result set hold???Is it dependent on the Vendor specific Driver iam using???
Thanks in advance
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Muralidhar Gandepalli:
Can anybody tell me what is holdability of resultset?.That how many rows can a result set hold???

There should not be a hardwired limit at all. A typical implementation will cache a few rows but, other than that, retrieve from the database on demand.
- Peter

 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no limit to how many rows the ResultSet will return. Since the ResultSet doesn't actually hold any rows, space is not an issue.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!