mybatis Android,mybatis abatis OrmLite android

1、在android 应用程序开发中使用mybatis的不利方面:

参考网址:http://stackoverflow.com/questions/4539426/android-application-and-mybatis

A、需要对mybatis针对Dalvik编译

B、对于手持设备来讲有点太“重量级”

C、存在其他可用与Android app 的ORM框架

The first thing to do in order to do that isto compile myBatis for Dalvik. But it's likely to be too heavy for adevice like a smartphone.

If you are looking for a lightweight persistence layer, you could look at Ammentos:

http://www.ammentos.org/

Same trouble: you will need to compile it for Dalvik.

Existing ORMs for Android:

http://ormlite.sourceforge.net/sqlite_java_android_orm.html

https://www.activeandroid.com/

2、两个可用的ORM框架

A、abatis

http://code.google.com/p/abatis/

B、OrmLite

http://ormlite.com/

推荐使用OrmLite,

原因:

A、资料比较多

B、是一种轻量级别的工具,相对于功能复杂的其他ORM工具,

C、OrmLite 仅仅提供访问数据库的一些基本方法、但是我们可以方便的扩张我们需要的功能。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值