简体   繁体   中英

Why does the Google App Engine documentation emphasize JDO over JPA?

Most of the docs for Google App Engine are written for JDO. Only one page of docs are devoted to using JPA. Is this because JDO is more suited to App Engine or was there some other reason for the preferential treatment given to JDO?

JPA is oriented towards mapping java objects onto relational databases. App Engine is not a relational database. JDO is more agnostic about the backend you persist objects to, so it is a better fit.

Update: I should mention that the JPA/JDO debate can get heated sometimes, like in this previous question for example.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM