aspose file tools
The moose likes JDBC and the fly likes Database data retrieval in many steps? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply 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
internet detective
Marshal

Joined: May 26, 2003
Posts: 26496
    
  78

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?
 
Similar Threads
Does a servlet continue processing after I hit Stop?
How can i group certain columns in a ResultSet
SQL SELECT statement with strings?
ResultSet Cursor
Performance issue if I do not retrieve the rest of result set