Annotation Type Version


  • @Retention(RUNTIME)
    @Target(FIELD)
    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
      java.lang.String value  
    • Element Detail

      • value

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