Annotation Type Comment


  • @Target({METHOD,FIELD,TYPE})
    @Retention(RUNTIME)
    public @interface Comment
    Specifies a comment that will be included in generated DDL.
    • When a field or property is annotated, the comment applies to the mapped column.
    • When an entity class is annotated, the comment applies to the primary table.
    • Required Element Summary

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

      • value

        String value
        The comment string.