Community
Participate
Working Groups
@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; } }
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