12

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)

David Underhill
  • 15,896
  • 7
  • 53
  • 61
Joe
  • 14,513
  • 28
  • 82
  • 144

4 Answers4

16

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.

Amir Uval
  • 14,425
  • 4
  • 50
  • 74
Taylor Leese
  • 51,004
  • 28
  • 112
  • 141
9

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.

gdt
  • 1,822
  • 17
  • 19
5

Yes,now, you can use hibernate with Google App Engine.

Imaky
  • 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
2

Yes you can !

Please read this information.

Yves_T
  • 1,170
  • 2
  • 10
  • 16