| Summary: | Merging ObjectChangeSets fail to merge deferredSet | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Gordon Yorke <gordon.yorke> | ||||||||
| Component: | Eclipselink | Assignee: | Gordon Yorke <gordon.yorke> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | eclipselink.foundation-inbox | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Gordon Yorke
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 |