Is there a way to log or trace the locking of entities while they are being accessed ?
I am trying to solve deadlocks situations that are probably the result of load & access contention. In order to solve this I have tried to mark get* and is* methods as read-only but that seems not to be working.
How can I tell if JBoss locks or not?
Thanks,
Erez