Annotation Type DiscriminatorFormula


  • @Target(TYPE)
    @Retention(RUNTIME)
    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:
    Formula
    • 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.