| Author |
JPA with J2SE
|
Mohammad Jaber
Ranch Hand
Joined: Apr 10, 2006
Posts: 46
|
|
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
|
OCP , SCJP 5.0
|
 |
Debu Panda
author
Ranch Hand
Joined: Jan 21, 2007
Posts: 100
|
|
What JDK are you using ? Sun Hotspot or IBM JDK? -Debu
|
Author: EJB 3 In Action (http://manning.com/panda)
|
 |
 |
|
|
subject: JPA with J2SE
|
|
|