[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1751) Collection corruptly loaded when join fetching and scrolling (org.hibernate.impl.FetchingScrollableResultsImpl)

Ali Ibrahim (JIRA) noreply at atlassian.com
Thu Aug 24 21:33:25 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1751?page=comments#action_24079 ] 

Ali Ibrahim commented on HHH-1751:
----------------------------------

Ran into this problem too...

It seems pretty serious since the documentation implies that scroll and fetching should work. I worked around by manually collating the results, but it was pretty painful.

Same symptoms: only 1 of the *many* side of a *one-to-many* is fetched.



> Collection corruptly loaded when join fetching and scrolling (org.hibernate.impl.FetchingScrollableResultsImpl)
> ---------------------------------------------------------------------------------------------------------------
>
>          Key: HHH-1751
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1751
>      Project: Hibernate3
>         Type: Bug

>   Components: core
>     Versions: 3.2.0.cr2
>     Reporter: Maarten Winkels
>  Attachments: Child.java, HQLScrollFetchTest.java, Parent.java, ParentChild.hbm.xml, scroll-fetch-collection.patch
>
>
> When scrolling a query that has a jon fetch on a collection (set), the collection is not loaded correctly. It appears that only the first item in the collection is correctly loaded.
> Th attached tests show this behaviour, as well as a number of orderings in the query to show how the collection is corruptly loaded.

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