[jboss-user] [JBoss Cache: Core Edition] - Re: tx aware cache config issue
do-not-reply at jboss.com
Mon Jan 26 07:30:13 EST 2009
I suppose that is something I could do, just not overly pleased with the inconsistent behaviour that will arise when a cache op is called with a tx which has been marked for rollback, depending on whether a sync is already registered or not. TBH, I'd much prefer consistent behavoiur.
What you could do is wrap the cache calls in a try block, and if you get an ISE then skip the cache step altogether since you know the tx will roll back.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204687#4204687
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204687
More information about the jboss-user