| Summary: | Bug with @XmlTransient on property | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Blaise Doughan <blaise.doughan> | ||||||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | eclipselink.oxm-inbox | ||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows XP | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 191847 [details]
MOXy - Test Cases
Created attachment 191848 [details]
MOXy - Test Cases
Created attachment 191849 [details]
MOXy - Test Cases
Created attachment 191850 [details]
MOXy - Fix
Fix checked into trunk at rev: 9172 Code reviewed by: Matt MacIvor Fix description: In AnnotationsProcessor check for @XmlTransient annotations on a property when checking if the property was annotated. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
@XmlTransient is being ignored in this example: import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTransient; @XmlRootElement public class Customer { private String firstName; private String lastName; public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } @XmlTransient public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } }