users@glassfish.java.net

Re: [lassfish + JPA] Java2DB not working - no ddl scripts generated

From: <glassfish_at_javadesktop.org>
Date: Thu, 20 Nov 2008 15:07:48 PST

It is injected, like this:
[code]
@PersistenceContext(unitName = "TestEJB")
private EntityManager em;
[/code]
into an EJB.
[Message sent by forum member 'szczyp' (szczyp)]

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