org.hibernate.annotations
@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface ColumnTransformer
read="decrypt(credit_card_num)" write="encrypt(?)"
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
forColumn
(Logical) column name for which the expression is used
This can be left out if the property is bound to a single column
|
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
public abstract java.lang.String read
public abstract java.lang.String write
Copyright © 2014. All Rights Reserved.