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


@WriteTransformers

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

WriteTransformer

An array of WriteTransformer




Usage

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


Examples

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


See Also

For more information, see: