Is it possible to change a LockTimeout for pessimistic lock?
javax.persistence.LockTimeoutException
#1
#2
Currently ObjectDB throws a LockTimeoutException immediately when a pessimistic lock cannot be granted.
Future versions will support timeout setting.
You may fill a feature request to increase the priority of this feature.
ObjectDB Support