Annotation Interface SchemaVersion


@Retention(RUNTIME) @Target(TYPE) public @interface SchemaVersion
This allows you to version your beans and perform upgrades if needed. Simply add this annotation and then increment version each time the model changes in a non-compatible way.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
  • Element Details

    • value

      int value
      Default:
      -1