Rejected
Details
Assignee
UnassignedUnassignedReporter
Nick PrattNick PrattComponents
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Nick Pratt
Nick PrattComponents
Priority
Created December 14, 2012 at 1:12 AM
Updated October 9, 2013 at 12:25 AM
Resolved October 9, 2013 at 12:25 AM
See attached maven project
In the run() method, there are two lines commented (1) and (2). As it stands, the 3rd child does not get persisted. If you comment out line (1), the 3rd child is persisted. Comment it out again and uncomment (2), the 3rd child gets persisted.
Why does the reload of the Parent object in the run() method cause its Children collection not to be saved on a call to saveOrUpdate()?