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 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.