Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346323

Summary: When merging an Entity which has a MapKeyJoinColumn the keys are not merged
Product: z_Archived Reporter: Gordon Yorke <gordon.yorke>
Component: EclipselinkAssignee: Project Inbox <eclipselink.orm-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P2 CC: tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Testcase that reproduces the issue none

Description Gordon Yorke CLA 2011-05-18 15:26:55 EDT
When merging an Entity with CascadeType.MERGE on a relationship which has a MapKeyJoinColumn the keys of the map are not merged.  The specification requires that all Entities referenced by a relationship that is CascadeType.MERGE be merged.
Comment 1 Gordon Yorke CLA 2011-05-18 15:29:30 EDT
Created attachment 196042 [details]
Testcase that reproduces the issue

The issue occurs because the merge is not cascaded to the key
Comment 2 Tom Ware CLA 2011-05-31 09:42:25 EDT
Setting target and priority.  See the following page for the meanings of these fields:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines

Community: Please vote for this bug if it is important to you.  Votes are one of the main criteria we use to determine which bugs to fix next.
Comment 3 Gordon Yorke CLA 2011-06-16 12:43:47 EDT
When this bug is fixed changes will need to be made along the lines of bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=302293 that updates merged collection changesets.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:05:56 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink