|AW: [eclipselink-users] No Persistence provider for EntityManager - Error when using EclipseLink|
[EPS Config]: 2008.03.12 10:39:22.252--ServerSession(29524641)--Thread(Thread[main,5,main])--The target entity (reference) class for the one to many mapping element [private java.util.List com.emd.testpersistence.UserBV.roleCollection] is being defaulted to: class com.emd.testpersistence.UserRoleBV.
If I remove eclipselink.jar from build path I don't get any message like this.
Hi everybody, I have tried to switch my application from Toplink Essentials to Eclipselink, but it currently doesn't work. After replacing the jar library and doing the necessary changes in persistence.xml and source code I always get an Exception in thread "main" javax.persistence.PersistenceException: No Persistence provider for EntityManager named default at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:89) at com.emd.testpersistence.MyEntityManager.main(MyEntityManager.java:89) Thx for help, Alex
Back to the top