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