Bug 346323 - When merging an Entity which has a MapKeyJoinColumn the keys are not merged
Summary: When merging an Entity which has a MapKeyJoinColumn the keys are not merged
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 15:26 EDT by Gordon Yorke CLA
Modified: 2022-06-09 10:05 EDT (History)
1 user (show)

See Also:


Attachments
Testcase that reproduces the issue (10.25 KB, patch)
2011-05-18 15:29 EDT, Gordon Yorke CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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