Wednesday, May 2, 2012

Eclipse JPA, classpath needed

<classpathentry kind="lib" path="C:/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar"/>

<classpathentry kind="lib" path="C:/Oracle/Middleware/modules/org.apache.openjpa_1.2.0.0_1-1-1-SNAPSHOT.jar"/>

<classpathentry kind="lib" path="C:/Oracle/Middleware/wlserver_10.3/server/lib/wlthint3client.jar"/>


not only, but running from Eclipse you should put weblogic.jar in the BOOTSTRAP classpath...

terrible, really terrible...


and don't forget to put
property name="eclipselink.target-database" value="org.eclipse.persistence.platform.database.OraclePlatform"

in the persistence.xml

No comments: