Package org.hibernate.annotations
Annotation Type DiscriminatorFormula
-
@Target(TYPE) @Retention(RUNTIME) public @interface DiscriminatorFormulaUsed to apply a Hibernate formula (derived value) as the inheritance discriminator "column". Used in place of the JPADiscriminatorColumnwhen a formula is wanted. To be placed on the root entity.- See Also:
Formula
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueThe formula string.
-