Add test for optimistic locking

Description

Optimistic locking via @Version is supposed to be working in OGM, but as it seems there is no test for this functionality.

Environment

None

Assignee

Gunnar Morling

Reporter

Gunnar Morling

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure