Do you inject EMF or create it via Persistence.createEMF() call? If it's the
latter, do you close created emf?
thanks,
-marina
glassfish_at_javadesktop.org wrote:
> Singleton pattern on the EMF, EM created and returned when any of the classes in the Data layer needs it. I've tried to remove the singleton pattern from the EMF-creation, did not solve my problem. No injection.
>
> Utility project; I've placed the entities and JPA logic in what Eclipse calls a utility project. Its just a another project contained in the EAR. The entire application is dependent on the entities, but the classes in the EJB-module are the only ones who uses the JPA logic.
> [Message sent by forum member 'flipp' (flipp)]
>
> http://forums.java.net/jive/thread.jspa?messageID=350050
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>