This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Resultset Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Resultset" Watch "Resultset" New topic
Author

Resultset

Muralidhar Gandepalli
Greenhorn

Joined: Apr 16, 2001
Posts: 15
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

Joined: Apr 20, 2000
Posts: 3252
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

Joined: May 05, 2000
Posts: 13974
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.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Resultset
 
Similar Threads
consuquences of not closing ResultSet?
accessing resultSet
resultset
regarding resultset
ResultSet