Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases and the fly likes pagination strategy 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 "pagination strategy" Watch "pagination strategy" New topic
Author

pagination strategy

Pravin Panicker
Ranch Hand

Joined: Oct 05, 2000
Posts: 62
Hello all,
I need to incorporate pagination with a search result.
My query may return upto a lakh records and using Tomcat with db2 7.1
( No ejbs ). What would be appropriate?
- putting the entire search result in session and retrieving them on next/previous
- or hitting the database every next/previous click. Here, I plan to store the primary keys
in session, to optimize my query


Pravin R Panicker<br />SCJP,SCWCD
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: pagination strategy
 
It's not a secret anymore!