Oracle® Fusion Middleware Java Persistence API (JPA) Extensions Reference for Oracle TopLink
ContentsOpens a new window
Page 94 of 251

@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-81Opens a new window 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"Opens a new window for an example of how to use the @WriteTransformer annotation with a Transformation mapping.

See Also

For more information, see: