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.
Table 2-81 describes this annotation's elements.
Table 2-81 @WriteTransformers Annotation Elements
Annotation Element | Description | Default |
---|---|---|
|
An array of |
You cannot use @WriteTransforme
rs for a read-only mapping.
See "Using @Transformation Annotation" for an example of how to use the
@WriteTransformer annotation
with a Transformation mapping.
For more information, see: