[jboss-user] [JBoss Cache Users] - Re: JBoss cache / WebLogic: problem with suspend/resume tran

2009-11-02 Thread adam.laczynski
Thank you for answer. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4263415#4263415 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4263415 ___ jboss-user mailing list

[jboss-user] [JBoss Cache Users] - Re: JBoss cache / WebLogic: problem with suspend/resume tran

2009-11-01 Thread bstansbe...@jboss.com
Ah, you're right; JBC internally implements putForExternalRead with a tx suspend, because the semantic of that operation is to not hold locks beyond the scope of the method call. Sorry, I don't see any workaround to this problem. The putForExternalRead call is fundamental to how Hibernate

[jboss-user] [JBoss Cache Users] - Re: JBoss cache / WebLogic: problem with suspend/resume tran

2009-10-30 Thread adam.laczynski
bstansbe...@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

[jboss-user] [JBoss Cache Users] - Re: JBoss cache / WebLogic: problem with suspend/resume tran

2009-10-29 Thread bstansbe...@jboss.com
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