Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between JPA and JDO?

Tags:

want to develop my project on Google App Engine .I want to use google big table as database. For the database I have two options JPA and JDO. Will you guys please suggest me on it? Both are new for me and I need to learn them. So I will be focused on one after your replies.

like image 646
user246160 Avatar asked Feb 12 '10 05:02

user246160


People also ask

Is JDO an ORM?

JPA, however, is an object-relational mapping (ORM) standard, while JDO is both an object-relational mapping standard and a transparent object persistence standard.

Is JPA a relational database?

Yes. JPA is a framework that provides an object / relational mapping.

What is JPA in simple terms?

The Java Persistence API (JPA) is a Java specification for accessing, persisting, and managing data between Java objects / classes and a relational database. JPA was defined as part of the EJB 3.0 specification as a replacement for the EJB 2 CMP Entity Beans specification.


1 Answers

Since you're using Data Nucleus, see their FAQ on JDO vs JPA. http://www.datanucleus.org/products/accessplatform_3_0/jdo_jpa_faq.html

DataNucleus AccessPlatform supports both JDO and JPA specifications of Java persistence. As such it has no "vested interest" in either technology, believing that it is for users to choose which they like best. There has been much FUD on the web about JDO and JPA, largely perpetrated by RDBMS vendors. This FAQ corrects many of these points

like image 169
marklai Avatar answered Oct 12 '22 21:10

marklai