*
The moose likes JDBC and the fly likes Database data retrieval in many steps? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Database data retrieval in many steps?" Watch "Database data retrieval in many steps?" New topic
Author

Database data retrieval in many steps?

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
I want to retrieve result set from database, If the result set is huge then I want to retrieve some part of total result set and retrieve the remaining in next sequence of retrievals.

My question here is

In my first database hit ,I retrieve the first set of the result,
In the second database hit, How it can refer the same result?? And retrieve the remaining part ?
Nickolas Case
Ranch Hand

Joined: Apr 26, 2008
Posts: 98
I think ResultSet fetchSize would be a good place to start.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30762
    
156

Try searching for "paging" in this forum.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Database data retrieval in many steps?