| When using "javax.persistence.nonJtaDataSource" property instead of <non-jta-data-source> tag in the persistence.xml, it is ignored. I assume the happens goes for JTA datasources. I discovered this when trying to set-up some automated testing using just one persistence.xml. The attached patch is untested. |