HibernatePagination |
|
| Your trail: |
Difference between
version 10
and
version 1:
| At line 1 added 1 line. |
| !!Hibernate Pagination |
| At line 3 added 1 line. |
| * Is there an easy way to get Hibernate to Paginate my results? |
| At line 3 changed 1 line. |
| Here's an entry from the Hibernate FAQ that shows one way of doing this: |
| Here's an [entry|http://www.hibernate.org/118.html#A9] from the Hibernate FAQ that shows one way of doing this: |
| At line 5 changed 1 line. |
| http://www.hibernate.org/118.html#A9 |
| Here is [Gavin Kings Blog|http://blog.hibernate.org/cgi-bin/blosxom.cgi/2004/08/14#fn.html] on a Paging class. |
| At line 7 changed 1 line. |
| Are collections pageable? |
| Another entry relevant to this issue on the Hibernate site [Hibernate Pagination|http://www.hibernate.org/243.html] |
| At line 11 added 1 line. |
| {{{ |
| At line 15 added 1 line. |
| q.setProjection( Projections.alias( Projections.rowCount(), "numResults" ) ) |
| At line 17 added 1 line. |
| }}} |
| At line 15 changed 2 lines. |
| Not sure if you had a look at this : |
| http://blog.hibernate.org/cgi-bin/blosxom.cgi/2004/08/14#pagination |
| Do NOT use: |
| At line 18 changed 2 lines. |
| 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 |
|
| {{{ |
| At line 26 added 1 line. |
| }}} |
| At line 29 added 5 lines. |
| </div> |
|
| ---- |
| The Display Tag has support for [external paging and sorting|http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html] with a system like this one. |
|
Back to HibernatePagination,
or to the Page History.
|