官网
https://github.com/greenrobot/greenDAO
简介
greenDAO is a light & fast ORM for Android that maps objects to SQLite databases. Being highly optimized for Android, greenDAO offers great performance and consumes minimal memory.
Home page, documen…
记录一下我在开发过程中使用Greendao遇到的问题,开发新版本时建了新的数据库,老版本升级到这个版本查询新建的数据库时,程序崩溃,报 no such table,网上有人说卸载掉app重新安装就可以了,这种方法我试过&am…
GreenDao进阶笔记,通过 注解 JAVA 对象描述数据库表结构,以及实现一对多、多对多的联系,简单直接上代码,后面有详细说明 配置代码
Entity
public class Soldier{ //人员表Id(autoincrement true)private Long sID;Propertypriva…