Community
Participate
Working Groups
Currently when specifying a transformation mapping on a property through annotations the following is required: @XmlTransformation @XmlReadTransformer(transformerClass=DateAttributeTransformer.class) @XmlWriteTransformers({ @XmlWriteTransformer(xpath="C_DATE/text()", transformerClass=DateFieldTransformer.class), @XmlWriteTransformer(xpath="C_TIME/text()", transformerClass=TimeFieldTransformer.class), }) private Date cDate; The @XmlTransformation annotation only has value when specifying the "optional" flag and should not be required to be present.
Created attachment 179887 [details] Proposed fix and updated tests
Attached patch checked into SVN. Reviewed by David McCann
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink