I am not sure I understand what exactly is the problem. Considering your test persistence unit has a different name than the one for production doesn't Peristence.createEntityManagerFactory(persistenceUnitName) just work for you?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120619#4120619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120619 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
