emmanuelbernard/hibernate-ogm — comment on commit 4e8183c5fe0fee44b32612b8410fded57ec018e5
File: hibernate-ogm-core/src/main/java/org/hibernate/ogm/dialect/infinispan/InfinispanPessimisticWriteLockingStrategy.java line 58
By emmanuelbernard:

PESSIMISTIC_READ has lighter semantics that PESSIMISTIC_WRITE but I don't know how to implement them differently.

Personally I think lock should be honored so throwing an exception does not look right to me (RE optimistic mode).