Android的更高级别的数据库层? [英] Higher level database layer for Android?
问题描述
是否有任何好的数据库抽象层/对象关系映射器/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 调用原生 Android 操作系统数据库 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
以下是一些 Android 示例应用程序:
Here are some Android example applications:
http://ormlite.com/docs/android-examples
这篇关于Android的更高级别的数据库层?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!