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

Bug 346289

Summary: PK should be populated when creating new originals for merge
Product: z_Archived Reporter: Gordon Yorke <gordon.yorke>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: eclipselink.foundation-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch none

Description Gordon Yorke CLA 2011-05-18 11:38:25 EDT
When creating a new original for merging of related existing objects the new Entity should have the PK populated as it may be needed later to determine identity of that related Entity.
Comment 1 Gordon Yorke CLA 2011-05-18 11:40:46 EDT
Created attachment 195993 [details]
Patch

Change getTargetVersionOfSourceObject on MergeManager to populate the PK if it is not populated by the copy policy
Comment 2 Gordon Yorke CLA 2011-05-20 08:55:37 EDT
Simple patch checked in
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:27:02 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink