JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
Spring Data Core
org.springframework.data.annotation
Version
Contents
Description
Hide sidebar
Show sidebar
Annotation Interface Version
@Documented
@Retention
(
RUNTIME
)
@Target
({
FIELD
,
METHOD
,
ANNOTATION_TYPE
})
public @interface
Version
Demarcates a property to be used as version field to implement optimistic locking on entities.
Since:
1.5
Author:
Patryk Wasik, Oliver Gierke