Community
Participate
Working Groups
Generating an xml schema with the following class causes an incorrect exception: Exception Description: The property or field shipTo is annotated to be transient so can not be included in the proporder annotation. @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PurchaseOrderType", propOrder = { "shipTo", "billTo" }) public class PurchaseOrder { @XmlTransient protected USAddress shipTo; @XmlElement(required = true) protected USAddress billTo; @XmlElement(name="shipTo", required = true) public USAddress getShipTo() { return shipTo; } public void setShipTo(USAddress value) { this.shipTo = value; } }
Created attachment 212936 [details] Patch - code changes - 2.3
*** This bug has been marked as a duplicate of bug 365614 ***
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink