[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-3070) Pagination support for criteria queries
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Thu Jan 17 08:56:55 EST 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Rydahl Andersen closed HHH-3070.
------------------------------------
Resolution: Rejected
always good to look at the reference docs and/or java doc api before submitting requests for api that is already there.
> Pagination support for criteria queries
> ----------------------------------------
>
> Key: HHH-3070
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3070
> Project: Hibernate3
> Issue Type: Improvement
> Reporter: marko asplund
>
> It would good if it would be possible to use the criteria query api for specifying the result set window e.g. so that
> Criteria c = session.createCriteria(Cat.class);
> c.setResultSetWindow(500000, 20);
> would make the database return the first 20 rows starting from row 500000 of the total result set.
> Currently it's possible to do this in the application level but a lot of work would be saved when the database would not need to return
> 500000 rows which are then OR mapped only to be discarded.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list