[jboss-user] [JBoss Cache Users] - Re: JBoss cache / WebLogic: problem with suspend/resume tran
do-not-reply at jboss.com
Fri Oct 30 07:46:20 EDT 2009
"bstansberry at jboss.com" wrote : JBoss Cache doesn't suspend/resume the transaction; it's Hibernate's integration with JBC that does this. If JBC sees an active transaction it will hold a lock on data in the cache until that tx commits. There are times when it's incorrect for those locks to be held for that long, so Hibernate suspends the tx before calling into JBC.
Suspend/resume is invoked from org.jboss.cache.interceptors.InvocationContextInterceptor#handleAll while optionOverride.isFailSilently() returns true. It comes from org.jboss.cache.invocation.CacheInvocationDelegate#putForExternalRead.
Maybe you meant that suspent/resume is invoked by Hibernate which invoked JBC methods with appropriate parameters.
As regards your suggestions:
1) I don't use query cache
2) Problem occures in read only transaction
3) Any evict on org.hibernate.SesssionFactory and org.hibernate.cache.CacheConcurrencyStrategy
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263152#4263152
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263152
More information about the jboss-user