Version in JPA/JDO APIs

javax.persistence.Version - JPA annotation

Specifies the version field or property of an entity class that serves as its optimistic lock value.

javax.jdo.annotations.Version - JDO annotation

Annotation for the versioning of the class.

This documentation page is derived from the JPA 2 open source RI (EclipseLink) and/or the JDO 2.2 API
and is available under the terms of the Eclipse Public License, v. 1.0 and/or the Apache License, v. 2.0.