If you're using integration tests, Seam will proxy the EM.

If you're writing a unit test, and creating your own EM from an EMF, you need 
to do:

EntityManager em = new EntityManagerProxy( emf.createEntityManager() );

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036902
_______________________________________________
jboss-user mailing list
[EMAIL PROTECTED]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to