Annotation Interface DefaultValue


@Retention(CLASS) @Target(FIELD) 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
     
  • Element Details