This content has been marked as final.
Show 1 reply
-
1. Re: Cache does not release locked nodes on transaction rollb
feutche Sep 25, 2009 7:42 AM (in response to feutche)So is it a bug in TxInterceptor?:
Line 923:
public void afterCompletion(int status)
{
// could happen if a rollback is called and beforeCompletion() doesn't get called.
if (ctx == null)
{
ctx = invocationContextContainer.get();
setTransactionalContext(tx, gtx, transactionContext, ctx);
if afterCompletion() is called in a different thread than beforeCompletion() was called, then ctx is not null and invocation context is not initialized