I am trying to get rid of the typical persistence.xml file in Spring JPA web application. So far, I have managed to inject the EntityManager successful
persistence.xml
EntityManager
This is the old question but might help someone who is using XML for configuration.