To improve concurrency and to avoid deadlock I want to use Optimistic Locking using object version field.
My system currently uses cache option A.
Is it true that in order to use Optimistic Locking I need to use cache option B or C but NOT A? Do I have to use "Instance Per Transaction" container configuration with locking-policty of JDBCOptimisticLock ?
Thanks in advance,
Erez