I am developing a hibernate with JPA project and trying to get the working persistence.xml by using H2(Embedded database).
Persistence.xml
Are you using Spring? If so you could try this as long as the EntityManagerFactory is not provided by a container