Annotation Type DiscriminatorFormula

  • @Target(TYPE)
    public @interface DiscriminatorFormula
    Used to apply a Hibernate formula (derived value) as the inheritance discriminator "column". Used in place of the JPA DiscriminatorColumn when a formula is wanted. To be placed on the root entity.
    See Also:
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The formula string.
    • Element Detail

      • value

        java.lang.String value
        The formula string.