Changed Hibernate to EclipseLink. Edited persistence.xml.