Unfortunately, you cannot use a JTA datasource unless you get the entity managers by injection, so you cannot use the jta-data-source element and you have to set the javax.persistence.nonJtaDataSource property in the map.
Also, if you are using EJBs, you have to add the @TransactionManagement(TransactionManagementType.BEAN) annotation to the Bean to disable JTA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266987#4266987 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266987 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
