Skip to content

Glossary: Spring Boot Beyond the Basics

@Version

Also written: Version, version field

An annotation on an entity field that enables optimistic locking: Hibernate adds the version to each update, and a stale save fails.

Where the book teaches it

Related terms

Optimistic lockingDirty checkingHTTP status codes