I\'m trying to set up a Spring JPA Hibernate simple example WAR for deployment to Glassfish. I see some examples use a persistence.xml file, and other examples do not. Some
This may be old, but if anyone has the same problem try changing unitname to just name in the PersistenceContext annotation:
From
@PersistenceContext(unitName="educationPU")
to
@PersistenceContext(name="educationPU")