开发者

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

开发者 https://www.devze.com 2022-12-19 11:45 出处:网络
Most of the docs for Google App Engine are written for JDO. Only one pa开发者_如何学Goge of docs are devoted to using JPA. Is this because JDO is more suited to App Engine or was there some other reas

Most of the docs for Google App Engine are written for JDO. Only one pa开发者_如何学Goge 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消