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

Bug 370579

Summary: Enhancement: support @XmlInverseReference with @XmlAnyElement
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: martin.grebac
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Blaise Doughan CLA 2012-02-03 11:50:35 EST
We should investigate if the following use case can be supported:

import java.util.*;
import javax.xml.bind.annotation.*;
import org.eclipse.persistence.oxm.annotations.XmlInverseReference;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Parent {

    @XmlInverseReference(mappedBy="children")
    private Parent parent;

    @XmlAnyElement
    private Set<Object> children = new HashSet<Object>();


}
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:15:41 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:33:56 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink