From: Maarten W. (JIRA) <no...@at...> - 2006-05-16 00:02:21
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1751?page=all ] Maarten Winkels updated HHH-1751: --------------------------------- Attachment: scroll-fetch-collection.patch This patch seems to solve the problem. In short, it involves not ending the collection loading for collections that do not have the currently loaded entity as parent. Of course this rule can olny be invoked when a single entity is loaded, as the root entity with scrollable results. > 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 |