[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1803) Allow fetching with criteria when scrolling

Kai Hoerder (JIRA) noreply at atlassian.com
Tue Aug 11 05:55:12 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33744#action_33744 ] 

Kai Hoerder commented on HHH-1803:
----------------------------------

Can confirm the bug and the provided patch, applied on hibernate-core-3.3.2.GA.

ScrollableResultSet in conjunction with FetchMode.JOIN is an important feature when using hibernate-search for large datasets and embedded indexes. Building the initial index without this feature was a matter of several hours for us, with ScrollableResultSet/FetchMode.JOIN it's a matter of minutes. 

As this bug exists since 2005 (see HHH-1283, HHH-1751, HHH-3394) and the provided patch seams to work, could please someone fix it for the next hibernate-version?

> Allow fetching with criteria when scrolling
> -------------------------------------------
>
>                 Key: HHH-1803
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1803
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: query-criteria
>    Affects Versions: 3.2.0.cr2
>            Reporter: Maarten Winkels
>         Attachments: Child.java, criteria-scroll-fetch-collection.patch, CriteriaScrollFetchTest.java, Parent.java, ParentChild.hbm.xml
>
>
> When querying by criteria, fetching is allowed, but when scrolling a criteria, the fetching corrupts the result.

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