users@glassfish.java.net

Re: Ear deployment and EntityManager injection

From: Mitesh Meswani <mitesh.meswani_at_oracle.com>
Date: Fri, 02 Jul 2010 15:04:04 -0700

>For anyone in the same situation, the issue was that I was injecting both an EntityManager and an EntityManagerFactory in the same DAO.

That should work. Can you please provide details on code you had to
change to make the problem go away.
On 7/2/2010 9:19 AM, glassfish_at_javadesktop.org wrote:
> Thanks batzee for your help, your suggestion didn't resolved directly my problem but i'm sure my project packaging is much more cleaner now.
>
> For anyone in the same situation, the issue was that I was injecting both an EntityManager and an EntityManagerFactory in the same DAO.
>
> It looks like Jboss and Glassfish have a different implementation for this particulary case.
> [Message sent by forum member 'tibill']
>
> http://forums.java.net/jive/thread.jspa?messageID=476667
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>