You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spring's JPA integration provides a tempClassLoader in the SpringPersistenceUnitInfo class. This loader defines an exclude filter base on the JPA providers package and a few other packages.
The issue is in writing test for EclipseLink the package org.eclipse.persistence was used for the model classes, but this filter is excluding these classes, so weaving does not work with Spring in any EclipseLink tests or examples.
The filter is not required, and EclipseLink will work without it. Either remove the package from the EclipseLinkDialect, or don't set it in SpringPersistenceUnitInfo.