Add optimistic and pessimistic concurrency support to entities and persistence.
Add optimistic and pessimistic concurrency support to entities and persistence.