Annotation Interface ColumnTransformer
Inspired by Hibernate's annotation of the same name. This annotation allows for a custom SQL expression when reading and writing a property.
The write expression must contain exactly one '?' placeholder for the value.
Optional Element Summary
readA SQL expression used to the read the column. Note that to reference a column you must use the appropriate alias prefix, which is the table name followed by an underscore. For example for an entity called
Projectthe alias would be
- A SQL expression used to read the column.
writeA SQL expression used to write the column. Must have exactly one '?' placeholder.
- The expression