users@glassfish.java.net

Re: EntityManager Lookup via JNDI in Glassfish

From: <glassfish_at_javadesktop.org>
Date: Thu, 19 Mar 2009 11:51:45 PDT

Thanks, sahoo - @PersistenceContext(name="persistence/em") in the calling EJB worked.

Is there a way to globally publish an EntityManager to JNDI? In a configuration file, perhaps?
[Message sent by forum member 'euqaz' (euqaz)]

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