Annotation Interface ExcludedFromVersioning


@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface ExcludedFromVersioning
Specifies that mutation of the annotated field or property does not result in incrementation of the version field or property of the entity.

This annotation indicates that the application tolerates lost updates to the annotated field or property when concurrent optimistic transactions modify the same entity instance, and that no OptimisticLockException should occur in this scenario.

Since:
4.0
See Also: