@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface ColumnTransformer
read="decrypt(credit_card_num)" write="encrypt(?)"
Modifier and Type | Optional Element and Description |
---|---|
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
|
String |
read
Custom SQL expression used to read from the column
|
String |
write
Custom SQL expression used to write to the column.
|
public abstract String forColumn
public abstract String read
public abstract String write
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.