Can I use JPA 2.0 with Google App Engine?
-
20-09-2019 - |
Question
Can I use JPA 2.0(e.g EclipseLink) with Google App Engine?
Solution
The DataNucleus plugin to the Google AppEngine supports both the JDO and JPA API to access Google AppEngine Datastore infrastructure. Currently this implementation seems to support JPA1 only.
OTHER TIPS
No, you can't use any implementation on GAE and they only support JPA 1.0. Quoting Using JPA with App Engine:
The App Engine Java SDK includes an implementation of JPA 1.0 for the App Engine datastore. The implementation is based on DataNucleus Access Platform.
"Experimental" support for JPA 2.0 is now available in GAE.
Now, in version 1.7.1 of GAE SDK you can use JPA 2 or JDO 3, fully supported. See release notes. Or set up using this information.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow