Hi ,
i am
testing JPA under J2SE using IBM RAD 7 and toplink provider , i added the required jars including toplink-essensials.jar and toplink-essensials-agent.jar , and i configured the persistence.xml under META-INF folder , it keeps giving me :
Exception in
thread "main" java.lang.NullPointerException
at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:120)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
at test.Client.main(Client.java:11)
the same thing is working fine under JDeveloper !!! any hints , Thanks