You can just load the EM, no need to go through the factory. I've always done the lookup into an instance variable via resource injection: @Resource(mappedName="theJNDINameOfEM") | private EntityManager em;
I believe you shouldn't have to register the EM with the transaction; the container should be doing it for you (it has in all cases I've experienced). S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993179#3993179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993179 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user