I'm developping an application with GAE/Datanucleus/cloudSQL.
Datanucelus version is 3.1.3 because newest App Engine SDK (1.9.11) includes this version, but I was advised to use Datanucleus v4 in this question.
I removed 3.1.3 jars from war/WEB-INF/lib and added 4.0.2 jars to the same folder. When I run the application, it seems working well.
But eclipse is complaining errors as belows.
The App Engine SDK JAR datanucleus-api-jpa-3.1.3.jar is missing in the WEB-INF/lib directory
The App Engine SDK JAR datanucleus-core-3.1.3.jar is missing in the WEB-INF/lib directory
The App Engine SDK JAR datanucleus-api-jdo-3.1.3.jar is missing in the WEB-INF/lib directory
If I add the 3.1.3 to war/WEB-INF/lib, eclipse error has gone, but application fails because of multiple JAR versions.
Can anybody tell me the straightforward way to use Datanucleus v4 with GAE?
See this page which says "use DataNucleus JDO/JPA to access the datastore" ? Well untick it because that is GAE/Datastore - not that Google's plugin tells you. Then put whatever jars you need for your JPA implementation into the CLASSPATH and all should be fine.