A desktop version of our software uses a relational database with Java Persistence API. We want to port the software to Android while keeping the relational database model. So is it possible to integrate 开发者_如何学Ca relational database with Java Persistence into an Android app?
Java Persistence as in Hibernate, EclipseLink, etc., no. There are however lightweight ORM solutions that work on Android such as OrmLite if you really feel you need to use ORM.
精彩评论