Skip to content

Implement JPA @Version and Optimistic Locking #11

Description

@frankgiordano

Implement JPA @Version and Optimistic Locking for the main objects...

As described here https://www.byteslounge.com/tutorials/jpa-entity-versioning-version-and-optimistic-locking:

Optimistic locking is a mechanism that prevents an application from being affected by the "lost update" phenomenon in a concurrent environment while allowing some high degree of concurrency at the same time. This is achieved without actually resorting to any locks: Optimistic locking relies on checks that are made against the existing data on the data store by transactions during update time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions