Hi,
I've got a fairly basic question about locking and transactions but I can't find the answer anywhere.
We're using JBoss EJB3s to handle all our DB work alongside Hibernate. Hibernate is hooked into the JBoss transaction manager and everything works fine. We're also using JBoss Cache as the 2nd level cache and again everything works fine.
However, we're having a problem with locks being taken on the JBoss Cache when they're not needed and it suddenly struck me that I don't know why we need to use locking on the cache. If Hibernate and JBoss are handling the transactions can we just turn off the cache locking completely?
Thanks
jbs
|