users@glassfish.java.net

Re: Lookup / discover JNDI names in Glassfish 3.1.2

From: <forums_at_java.net>
Date: Fri, 13 Apr 2012 07:16:28 -0500 (CDT)

Once you inject with @PersistenceContext or declare a persistence-context-ref
in the current module or component, your lookup will work. For example,
@PersistenceContext(name="persistence/em") persistence/em -cheng

--
[Message sent by forum member 'cf126330']
View Post: http://forums.java.net/node/885070