@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) @Repeatable(value=ColumnTransformers.class) public @interface ColumnTransformer
read="decrypt(credit_card_num)" write="encrypt(?)"
ColumnTransformers
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
forColumn
(Logical) column name for which the expression is used.
|
java.lang.String |
read
Custom SQL expression used to read from the column.
|
java.lang.String |
write
Custom SQL expression used to write to the column.
|
public abstract java.lang.String forColumn
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.