[jboss-user] [EJB 3.0] - Re: Why is injection not working in AS 4.0 and 4.2 (servlets
jfheintz
do-not-reply at jboss.com
Tue Jul 31 08:54:35 EDT 2007
Hello,
I agree the way you get the Home interface of a session bean, but I am not able to do the same for an entity.
There is no JNDI entry for the entities beans.
I can see only the persistence manager:
+- persistence.units:ear=myapp.ear,unitName=MyUnit (class: org.hibernate.impl.SessionFactoryImpl)
But no way to get the associated EntityManager.
Regards,
JF HEINTZ
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069147#4069147
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069147
More information about the jboss-user
mailing list