Community
Participate
Working Groups
In cased where an ObjectChangeSet needs to be merged (after commitAndResume for instance) any tracking of the set of deferred collections is not merged and the information will be lost.
This will result in any changes made after a UnitOfWork resume being lost when an entire collection was replaced.
UnitOfWorkResumeOnFailureTest has been updated to actually verify the changes and not just compare the merged object with the database object.
Created attachment 193876 [details] Proposed Patch This patch causes the deferred set to be merged.
Created attachment 193884 [details] Tests
Created attachment 194177 [details] Updated Patch This patch includes some updates to support the ObjectChangeSet merge that occurs after the flush of a PersistenceContext
Checked into revision 9306 Reviewed by Andrei Ilitchev
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink