RCB
RCB

Reputation: 2273

Do I need JPA provider in google app engine?

I'm using Google app engine, and I want to use JPA 2 that is supported by it.
As far as I understand (correct me if I'm wrong) JPA is only interfaces, so, whenever you want to use it you need a JPA provider (such as hibernate), but in the getting started tutorial there are examples without any provider just JPA.
So, do I really need Hibernate (or any other provider) ?

Upvotes: 2

Views: 84

Answers (1)

vainolo
vainolo

Reputation: 6987

Google app engine uses datanucleus as the JPA provider. See the example of a persistence.xml file they show here. I don't think you have to bundle this provided with your app since it is probably loaded by Google, but I'm not sure about this.

Upvotes: 2

Related Questions