To use EclipseLink instead of Hibernate:
- Update
pom.xml
to excludehibernate-core
and instead include theeclipselink
dependencies - Use the
EclipselinkConfiguration
class to configure EclipseLink - Update the
spring.jpa.properties
inapplication.yml
to properly set up EclipseLink - Copy the
src/main/resources/META-INF/persistence.xml
file into your project - Verify via a test case that the configuration works