I tried this ....
@PersistenceUnit(name="myPU")
private EntityManagerFactory emf;
Properties map = new Properties();map.put("hibernate.connection.username", "myuser"
map.put("hibernate.connection.password", "mypass");
E#ntityManager entityManager = emf.createEntityManager(map);
but I got a runtime error of ...
java.sql.SQLException: Invalid Oracle URL specified
which makes me think that it is now ignoring my xa-datasource
);