Community
Participate
Working Groups
When AccessType is set to NONE we preserve a types fields and properties since we don't know which might be enabled in an XML override. This is leading to a duplication of mappings. To reproduce check modify the following classes by removing @XmlTransient from the fields: - org.eclipse.persistence.testing.jaxb.xmlaccessortype.none.Mapped - org.eclipse.persistence.testing.jaxb.xmlaccessortype.none.Root
Created attachment 187205 [details] MOXy - Test Cases
Created attachment 187207 [details] MOXy - Fix
Created attachment 187224 [details] MOXy - Fix
Fix checked into trunk at rev: 8863 Code reviewed by: Matt MacIvor Fix Description: In AnnotationsProcessor.getNoAccessTypePropertiesForClass we no longer add both the field and property: - If the field is annotated then add it. - If the property is annotated then add it. - If the property is not annotated then add it only if there isn't a corresponding field.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink