Hi All,
I am working on a large enterprise application relating to Capital
Market. I am working in Java and with its extended technology. I am
facing one critical problem which needs solution from your side. I
have a database table which contains approximately more than 5
millions of records, I want to display the records with proper
pagination. Here I am using Hibernate for database related stuffs. I
am using a query which contains a join query to load the records.
After the query the filtered records come to approcimately 80,000. I
am unable to make proper pagination, everytime for next or previous
set of 10 records I hit the database which is a time consuming affair.
I do not know what I will do , should I cache the data for pagination.
Everytime I load more than 80,000 records, think that in an web based
application, the no of users are 5000, then how to manage. I need core
java level solution not in the JSP level. Please help me in this
regard.
Debadatta Mishra
India