]
king commented on EJB-266:
--------------------------
Hi,
Can you tell us how this is fixed please? i am facing some problem using:
- Hibernate 3.2.4.sp1
- Hibernate validator 3.0.0.GA
- Hibernate Commons Annotations : 3.0.0.GA
- Hibernate Annotations: 3.0.0.GA
- Hibernate EntityManager :3.3.1.GA
Thank you
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
Issue Type: Bug
Components: EntityManager
Affects 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.3.0.ga
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: