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

Bug 326189

Summary: MOXy Extensions: Add support for embedded id class.
Product: z_Archived Reporter: David McCann <david.mccann>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David McCann CLA 2010-09-24 14:38:24 EDT
We should support the concept of an embedded id class, similar to what is supported in JPA.  Something like:

public class Employee {
    @XmlEmbeddedId
    public EmployeeId empId;
    ...
}

public class EmployeeId {
    @XmlID
    public String id;
    ...
}
Comment 1 David McCann CLA 2010-10-01 15:08:46 EDT
We will not be supporting this feature.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:36:18 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink