MaxResults « JPA « Spring Q&A





1. [hibernate3] can I use both MaxResults and get the full result size ?    forum.springsource.org

Hello, My app uses data Pagination based on Hibernate. My DAO uses Code: template.setFetchSize( criteres.getPage() * pageSize ); template.setMaxResults( pageSize + 1 ); (based on http://blog.hibernate.org/cgi-bin/bl.../08/14#fn.html) My customer wants the result ...