i want to use displaytag to display my pagination data,but i found that it paginate data based List.if i get all data from database,and put it into List,it cause out of memory.because i want to use hibernate pagination technolyge:
setMaxResult(pageSize);
setFirstResult((pageNum - 1)*pageSize) to implement it.but i don't know how use the pageSize and pageNum parameter to implement pagination in displaytag?
could help me!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i want to use displaytag to display my pagination data,but i found that it paginate data based List.if i get all data from database,and put it into List,it cause out of memory.because i want to use hibernate pagination technolyge:
setMaxResult(pageSize);
setFirstResult((pageNum - 1)*pageSize) to implement it.but i don't know how use the pageSize and pageNum parameter to implement pagination in displaytag?
could help me!
Hi, I have the same problem, I don't know how to solution this, do you found a solution to this?
Thanks