org.hibernate.annotations
public @Interface Formula
extends Annotation
- Annotations
- @Target:METHOD, FIELD
- @Retention:RUNTIME
- Static Imports
- java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .RetentionPolicy.RUNTIME
Formula. To be used as a replacement for @Column in most places
The formula has to be a valid SQL fragment
- Author
- Emmanuel Bernard