users@glassfish.java.net

Re: Glassfish, JPA, can't get it to work.

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 May 2008 10:09:03 PDT

Or if you don't need injection :

This could be somewhere in your static factories...
EntityManagerFactory emf = Persistence.createEntityManagerFactory("punit");

and then
EntityManager em = emf.createEntityManager();
[Message sent by forum member 'alexj' (alexj)]

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