users@glassfish.java.net

Re: Getting an Entity instance from the current persistence context

From: <glassfish_at_javadesktop.org>
Date: Wed, 13 Jun 2007 13:30:54 PDT

Andrew,

How do you get a hold of an entity manager? Do you inject it into the session bean or do you create it via emf.createEM() call? Is it a stateless or a statefull session bean?

thanks,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

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