Android ORM 解决方案 RapidORM

码农软件 · 软件分类 · ORM/持久层框架 · 2019-09-23 16:28:44

软件介绍

RapidORM 是 Android ORM 的解决方案。

特点:

    1. 支持使用反射和非反射(模版生成)两种方式实现执行SQL。

    2. 支持复合主键

    3. 支持任何主键类型

    4. 兼容android原生的 android.database.sqlite.SQLiteDatabase 和SqlCipher的net.sqlcipher.database.SQLiteDatabase。

缺点:

  1. 不支持链表查询。

Android上主流的ORM框架有很多,常用的有ORMLite、GreenDao等。

ORMLite:

-优点:API很友好,使用比较方便简单稳定,相关功能比较完整。

-缺点:内部使用反射实现,性能并不是很好。

GreenDao:

-优点:性能很不错,

-缺点:API却不太友好,而且不支持复合主键,主键必须要有并且必须是long或者Long。持久类可以用它提供的模版生成,但是一旦使用了它的模版,持久类、DAO就不能随意去修改,扩展性不是很好。如果不使用它的模版,代码写起来就很繁琐。

所以结合了两者重新写了一个 ORM:RapidORM

本文地址:https://www.codercto.com/soft/d/15238.html

A Byte of Python

A Byte of Python

Swaroop C H / Lulu Marketplace / 2008-10-1 / USD 27.98

'A Byte of Python' is a book on programming using the Python language. It serves as a tutorial or guide to the Python language for a beginner audience. If all you know about computers is how to save t......一起来看看 《A Byte of Python》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具