Can Hibernate 3.5.x be used as the JPA provider instead of the default provider in the latest version of Google App Engine (1.3.2)

- 15,896
- 7
- 53
- 61

- 14,513
- 28
- 82
- 144
-
To answer that you need to define what datastore you want to persist to ... – DataNucleus Mar 30 '12 at 12:51
4 Answers
No, Hibernate can't be used with Google App Engine. Please see Will it play with App Engine.
You cannot currently use Hibernate directly. The differences between the App Engine datastore and SQL were too great to get the standard Hibernate up and running under App Engine. App Engine does support JDO and JPA, so you may be able to convert your Hibernate code to use one of these ORM interfaces.

- 14,425
- 4
- 50
- 74

- 51,004
- 28
- 112
- 141
-
Assuming we convert Hibernate code over to JPA 2, would it be possible to use Hibernate as the underlying JPA provider or would the GAE platform default this to default data nucleus provider – Joe Mar 26 '10 at 12:41
-
2
-
3
I appreciate that it's been some time since you asked, but things have changed recently; Google now offers a preview of a SQL interface. That means that any JDBC based solution should work (http://code.google.com/apis/sql/) - and that includes Hibernate.
Personally, I'll be cautious about using it until pricing is finalised, though.

- 1,822
- 17
- 19
Yes,now, you can use hibernate with Google App Engine.

- 1,227
- 1
- 16
- 36
-
http://code.google.com/p/hibernate-gae/ (Mar 23, 2012) Previously you cannnot use JDBC for queries, but now you can! – Imaky Apr 18 '12 at 15:22
Yes you can !
Please read this information.

- 1,170
- 2
- 10
- 16
-
-
the link is broken, that's why you need to put at least a summary of what should be done. – Majid Laissi Jul 26 '14 at 21:12