@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) @Repeatable(value=WriteTransformers.class) public @interface WriteTransformer
ReadTransformer
,
Transformation
,
Transformation can be specified within an Entity, MappedSuperclass
and Embeddable class.
Modifier and Type | Optional Element and Description |
---|---|
jakarta.persistence.Column |
column
Specify here the column into which the value should be written.
|
String |
method
The mapped class must have a method with this name which returns a value
to be written into the database column.
|
Class |
transformerClass
User-defined class that must implement the
org.eclipse.persistence.mappings.transformers.FieldTransformer interface.
|
public abstract Class transformerClass
public abstract String method
public abstract jakarta.persistence.Column column
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.