[hibernate-issues] [Hibernate-JIRA] Resolved: (EJB-266) Avoid collection loading during cascaded PERSIST (improving performance on heavily cascaded object graphs)

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Feb 15 01:09:41 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-266?page=all ]
     
Emmanuel Bernard resolved EJB-266:
----------------------------------

    Resolution: Fixed

Fixed, thanks for the test

> Avoid collection loading during cascaded PERSIST (improving performance on heavily cascaded object graphs)
> ----------------------------------------------------------------------------------------------------------
>
>          Key: EJB-266
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-266
>      Project: Hibernate Entity Manager
>         Type: Bug

>   Components: EntityManager
>     Versions: 3.2.1
>  Environment: hibernate 3.2.2, hibernate-entitymanager 3.2.1.ga
>     Reporter: sara forghani
>     Assignee: Emmanuel Bernard
>     Priority: Critical
>      Fix For: 3.2.2
>  Attachments: persist-test-case.zip
>
>
> hibernate initializes lazy objects traversed by the persist operation; 
> for example, in this case (the project is attached):
> class A has bidirectional one-to-many relationship to classes B1, B2, B3, B4 
> (b1List, b2List, b3List, b4List) 
> B1 has bidirectional one-to-many relationship to C1 
> (c1List) 
> B2 has bidirectional one-to-many relationship to C2 
> (c2List) 
> if we try persisting C2, it will also initialize B1, C1, B4 ... and other existing C2's
> (you may find a more complete description of the issue at http://forum.hibernate.org/viewtopic.php?p=2340004#2340004)

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