Community
Participate
Working Groups
For the following model: public class Address implements Serializable { @XmlInverseReference(mappedBy="address") private Customer customer; } The following XML schema is incorrectly generated: <xsd:complexType name="address"> <xsd:sequence> <xsd:element name="customer" type="customer" minOccurs="0"/> </xsd:sequence> </xsd:complexType> In terms of schema generation @XmlInverseReference should act like @XmlTransient and not generate an element for the customer property.
Created attachment 169140 [details] Proposed Fix and Test Case
Attached patch checked into SVN
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink