Annotation Type DefaultValue

  • @Retention(CLASS)
    public @interface DefaultValue
    Defines the Java code of the default value to use for a property, when getting an existing entity and the database value for the property is null.

    Currently only @DefaultValue("") is supported.

    • Required Element Summary

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

      • value

        java.lang.String value