Package org.hibernate.annotations
Annotation Type JoinFormula
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface JoinFormula
To be used as a replacement for@JoinColumn
in most places. The formula has to be a valid SQL fragment
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
The formula.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
referencedColumnName
The column this formula references.
-