I wonder how we can use pessimistic locking in Jmix. I stumbled upon LockManager and @PessimisticLock, but not enough documentation, so I’m not sure how to actually use it.
I set my entity to use @PessimisticLock annotation already. And somehow whenever I try to lock an Entity, the method returns LockInfo, which indicate that it’s already locked by someone. Is this because I also open the Entity in the Edit screen? Is there any guide on this?
Thank you!