users@glassfish.java.net

Re: Surprising JPA (Toplink) Behaviour (glassfish v1 UR1)

From: <glassfish_at_javadesktop.org>
Date: Wed, 28 Mar 2007 12:08:33 PST

Thanks for your replies,

It makes sense indeed to do a lookup instead of keeping the EntityManager reference in a ThreadLocal instance. Next to that, it avoids problems related to (ab)using a ThreadLocal instance.

Regards,

Koen
[Message sent by forum member 'koenhautekeete' (koenhautekeete)]

http://forums.java.net/jive/thread.jspa?messageID=210369