Spring Data Core

org.springframework.data.annotation
Annotation Type Version


@Documented
@Retention(value=RUNTIME)
@Target(value={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


Spring Data Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.