Ran into this error for the first time (after many years of using odb):
Caused by: com.objectdb.o._OptimisticLockException: Optimistic lock failed for object model.UserSession#28 (object has version 2 instead of 3)
Also the first time I'm using odb in C/S mode rather than embedded.
Also have the Explorer open
Questions:
a) what is it about?
b) is there a setting for pessimistic mode? In my app, I don't expect more than one thread to access a database at any one time, and in the rare case that this happens, the queries are short lived enough that a small delay while one thread is blocked will not be a problem. Additionally, I don't imagine any deadlock situation.