[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] Re: merge does not copy basic mappings

Thanks for isolating this. The bug occurs when a new object is merged twice in the same transaction. Please log a bug for this and include you test.

The bug is in MergeManager.mergeChangesOfCloneIntoWorkingCopy() as it uses a cascadeOnly merge if the object is new.

I think a workaround would be to flush after the first merge.

---
James
http://www.nabble.com/EclipseLink---Users-f26658.html