Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.4
  Go To Table Of Contents


Use @WriteTransformer on a TranformationMapping to transform a single attribute value to a single database column value. Use the @WriteTransformers annotation to wrap multiple transformations.

Annotation Elements

Table 2-81 describes this annotation's elements.

Table 2-81 @WriteTransformers Annotation Elements

Annotation Element Description Default


An array of WriteTransformer


You cannot use @WriteTransformers for a read-only mapping.


See "Using @Transformation Annotation" for an example of how to use the @WriteTransformer annotation with a Transformation mapping.

See Also

For more information, see: