[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 10:25:11 EDT 2007


I tried to set the EntityManager using it's factory, but I have a transaction exception about setting an autcomit

EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory("MyUnit");
this.entityManager = entityManagerFactory.createEntityManager();

Any idea?

Regards

JF HEINTZ

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069186#4069186

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069186



More information about the jboss-user mailing list