更高层次的数据库层为Android?更高、层次、数据库、Android

2023-09-08 15:57:59 作者:单纯小男人Ο

有没有什么好的数据库抽象层/对象关系映射器/ ActiveRecord的实现/不管它们被称为为Android?我知道,的的db4o 的是官方支持的,但它有相当大的足迹我宁愿用更传统的数据库(的SQLite )。

Are there any good database abstraction layers/object relational mappers/ActiveRecord implementations/whatever they are called for Android? I'm aware that db4o is officially supported, but it has quite a large footprint and I'd rather use a more conventional database (SQLite).

推荐答案

我的 ORMLite 的主要作者将其设计成小[ ISH],但仍提供了更高级别的功能。 ORMLite将调用原生的Andr​​oid OS数据库的API,以支持其ORM功能。请参阅以下的一般信息

I am the main author of ORMLite which was designed to be small[ish] but still provide higher level functionality. ORMLite makes calls to the native Android OS database APIs to support its ORM functionality. See the following for general information

http://ormlite.com/sqlite_java_android_orm.shtml

下面是一些安卓应用实例:

Here are some Android example applications:

http://ormlite.com/docs/android-examples