Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
AppFuseSupport




JSPWiki v2.2.33

[RSS]


Hide Menu

HibernatePagination


Difference between version 10 and version 4:

At line 7 added 4 lines.
Here is [Gavin Kings Blog|http://blog.hibernate.org/cgi-bin/blosxom.cgi/2004/08/14#fn.html] on a Paging class.
Another entry relevant to this issue on the Hibernate site [Hibernate Pagination|http://www.hibernate.org/243.html]
At line 15 removed 1 line.
Another blog entry relevant to this topic can be found [here|http://blog.hibernate.org/cgi-bin/blosxom.cgi/2004/08/14#pagination]
At line 17 changed 1 line.
The only limitation which the code snippet is that it does not had a method to return the total number of records (ie getLastPage()). Do NOT use
Do NOT use:
At line 29 added 1 line.
</div>
At line 31 added 2 lines.
----
The Display Tag has support for [external paging and sorting|http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html] with a system like this one.
At line 28 removed 1 line.
Note: If you are looking to encorporate Hibernate pagination with DisplayTag, there are a number of patch offerings on the [DisplayTag JIRA|http://jira.codehaus.org/browse/DISPL]. Hopefully, if enough people vote for them, DisplayTag will soon support pagination by calling the server side DAO to retrieve a page of results at a time! At the momment, DisplayTag loads all results which is not efficient for large lists.

Back to HibernatePagination, or to the Page History.