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.
    • Element Detail

      • value

        java.lang.String value
        The formula.
      • referencedColumnName

        java.lang.String referencedColumnName
        The column this formula references.
        Default:
        ""