Met
Met

Reputation: 3162

Can I use JPA 2.0 with Google App Engine?

Can I use JPA 2.0(e.g EclipseLink) with Google App Engine?

Upvotes: 4

Views: 2033

Answers (4)

Roberto
Roberto

Reputation: 11933

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.

Upvotes: 1

David Webb
David Webb

Reputation: 193696

"Experimental" support for JPA 2.0 is now available in GAE.

You can find out how to set it up here.

Upvotes: 2

Pascal Thivent
Pascal Thivent

Reputation: 570295

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.

Upvotes: 2

Ralf Edmund
Ralf Edmund

Reputation: 1035

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.

Upvotes: 2

Related Questions