| Summary: | incorrect exception generating a schema if field is transient and property is annotated | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Karen Butzke <karenfbutzke> | ||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | blaise.doughan, rick.barkhouse | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
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 |
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; } }