Hi ksak,
Are there any drawbacks by using a ThreadLocal for this purpose? I mean, can we expect unexpected behaviour of the persistence layer?
I can easily change the way context is passed around, since the ThreadLocal is encapsulated in its own class.
Regards,
Koen
[Message sent by forum member 'koenhautekeete' (koenhautekeete)]
http://forums.java.net/jive/thread.jspa?messageID=210225