This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Resultset Caching Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Resultset Caching" Watch "Resultset Caching" New topic

Resultset Caching

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I am trying to retrive say 10000 records from a table,
which obviously is going to consume time. Is there some way where in I can cache records and show them.
Like say i show the user 100 records initially and then in the meanwhile the processing is goin on in the backend to retrieve the other records.
It is something like saving time from the users perspective,
c'coz it is not user friendly to keep the user waiting for a long time to view all the 10000 records and it is more over not possible to show him all the 10000recordsin one stretch...
do kindly help.
I agree. Here's the link:
subject: Resultset Caching
It's not a secret anymore!