| Summary: | Enhancement: support @XmlInverseReference with @XmlAnyElement | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Blaise Doughan <blaise.doughan> |
| Component: | Eclipselink | Assignee: | 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: | |||
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
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>(); }