HibernatePagination |
|
| Your trail: |
Difference between
version 2
and
version 1:
| At line 2 added 1 line. |
| !!Hibernate Pagination |
| At line 3 changed 1 line. |
| Here's an entry from the Hibernate FAQ that shows one way of doing this: |
| * Is there an easy way to get Hibernate to Paginate my results? |
| At line 5 changed 1 line. |
| http://www.hibernate.org/118.html#A9 |
| Here's an [entry|http://www.hibernate.org/118.html#A9] from the Hibernate FAQ that shows one way of doing this: |
| At line 7 changed 2 lines. |
| Are collections pageable? |
|
| {{{ |
| At line 12 added 1 line. |
| q.setProjection( Projections.alias( Projections.rowCount(), "numResults" ) ) |
| At line 14 added 1 line. |
| }}} |
| At line 16 added 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 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 |
| 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 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 24 added 1 line. |
| }}} |
Back to HibernatePagination,
or to the Page History.
|