2.5.2.6. Version
Use the Version annotation to designate a version field. Version Field explained the importance of version fields to JPA.
This is a marker annotation; it has no properties.
The equivalent XML element is version, which has a single attribute:
-
name: The name of the version field or property. This attribute is required.