RE: InheritableThreadLocal issues

2003-12-04 Thread Hookom, Jacob
I've been using ThreadLocal's and had to forceably reset the object on the ThreadLocal on every use to specify a transaction cache: public final class Tx { private static ThreadLocal localCache = new ThreadLocal() { protected synchronized Object initialValue()

[OT] RE: InheritableThreadLocal issues

2003-12-04 Thread Hookom, Jacob
: Pon Umapathy K.S. [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 8:42 AM To: Struts Users Mailing List Subject: RE: InheritableThreadLocal issues Thanks for the reply,Jacob. Just to confirm the issue - This code snippet resets the object stored in the ThreadLocal var when a set

RE: [OT] RE: InheritableThreadLocal issues

2003-12-04 Thread Pon Umapathy K.S.
Thanks Jacob.Will try that out. -Original Message- From: Hookom, Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 8:14 PM To: Struts Users Mailing List Subject: [OT] RE: InheritableThreadLocal issues Yes, the issue is that the ThreadLocal var *could* be the one

RE: InheritableThreadLocal issues

2003-12-04 Thread Pon Umapathy K.S.
Subject: RE: InheritableThreadLocal issues I've been using ThreadLocal's and had to forceably reset the object on the ThreadLocal on every use to specify a transaction cache: public final class Tx { private static ThreadLocal localCache = new ThreadLocal() { protected