users@glassfish.java.net

Re: Persistence in Web Container

From: <glassfish_at_javadesktop.org>
Date: Wed, 10 Oct 2007 13:52:05 PDT

No, only the NullPointerException at runtime when a method is called on the entity manager factory. It just seems that the emf is not being injected. Besides adding the @PersistenceUnit annotation, is there anything else that needs to be done that I might be missing to achieve this dependency injection?
[Message sent by forum member 'shelleyb' (shelleyb)]

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