Annotation Type DiscriminatorFormula


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface DiscriminatorFormula
    Specifies an expression written in native SQL as the discriminator for an entity inheritance hierarchy. Must be used to annotate the root entity of the hierarchy.

    Used in place of the JPA DiscriminatorColumn.

    See Also:
    Formula
    • Required Element Summary

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

      • value

        String value
        The formula string.