Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: Git Master
-
Fix Version/s: None
-
Component/s: ORM
-
Security Level: All
-
Labels:None
Description
Suppose a situation where:
A -> B
Where the OneToOne unidirectional association contains cascade persist.
If I decide to save an entity B that should create an A instance, it goes into maximum nesting level no matter if I track prePersist or postPersist.
Ah yes, this never worked. The transaction stuff will fix that. You have to use scheduleForInsert() something inside prePersist.