« Return to Thread: Lookup / discover JNDI names in Glassfish 3.1.2

Re: Lookup / discover JNDI names in Glassfish 3.1.2

by forums-8 :: Rate this Message:

| View in Thread

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


 « Return to Thread: Lookup / discover JNDI names in Glassfish 3.1.2