Annotation Interface Version


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface Version
supposed to be used on a Long or long field for optimistic locking.
Author:
Uwe Schaefer, (us@thomas-daily.de)
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Returns:
      the field name to use in the document. Defaults to the java field name.
      Default:
      "."