greenDAO
========
greenDAO is a light & fast ORM solution for Android that maps objects to SQLite databases. Being highly optimized for Android, greenDAO offers great performance and consumes minimal memory.
Home page, documentation, and support links: http://greendao-orm.com/
Work in progress
----------------
### New asynchronous API
* New AsyncSession (acquired from DaoSession.startAsyncSession()) provides most operations for DAOs, Queries, and transactions in a asynchronously variant
* AsyncOperations are processed in order by a background thread
* waitForCompletion methods for AsyncSession and AsyncOperations
* AsyncOperationListener for asynchronous callback when operations complete
* Asynchronous operations can be merged in single transactions (details follow)
* Added raw SQL queries returning a Query object (LazyList support etc.)
Release History
---------------
### V1.3.2 (2013-08-28): Bugfix
* Fixed building CountQueries with combined AND/OR conditions
* Some secret inoffical work in progress
### V1.3.1 (2013-03-02): Fixed Gradle dependencies
* Don't use Gradle's "compile" dependency scope
### V1.3.0 (2013-02-24): Multithreading robustness and refactoring (breaking changes!)
* Reworked internal locking of insert/update/delete methods
* Fixed potential deadlocks when transactions are executed concurrently to one of the various insert/update/delete calls
* Reworked queries to be used without locking, query instances are now bound to their owner thread (breaking change!)
* Relations use the new lock-free query API
* Query classes were moved into the new query subpackage (breaking change!)
* Introduced Gradle build scripts for DaoCore and DaoGenerator projects
* Maven artifacts are pushed to Maven Central starting with this version
* Added two packages for classes used internally (identityscope and internal)
* Added new deleteByKeyInTx DAO method to efficiently delete multiple entities using their keys
* Added some checks to throw exceptions with nicer messages telling what's wrong
* Added Travis CI
### V1.2.0 (2012-06-08): Feature release
* Limited support of String PKs (no relations using String FKs yet)
* Fixed index creation (please update your schema)
* Added CountQuery for creating SELECT COUNT (*) queries with QueryBuilder
* Added getDatabase in DaoMaster, DaoSession, and Dao
* Added insertOrReplaceInTx in Dao
* Added deleteInTx in Dao
* Added autoincrement() creating AUTOINCREMENT PKs
* Made DAOs and DaoSessions in active entities transient (allows serialization of entities)
* Minor fixes
### V1.1.2 (2012-03-26): ADT 17 support for demo project
* Demo projects works with ADT 17 (moved greendao.jar into libs)
* CREATE/DROP TABLE may be skipped for entity types: This allows having multiple entity types operate on the same table
* Minor improvements
### V1.1.1 (2012-02-14): Mini bugfix&feature release
* Added NOT IN condition for QueryBuilder
* Fix for Roboelectric (Issue #22)
* Minor fix (Issue #5)
### V1.1.0 (2012-02-13): Feature release
* DeleteQuery for bulk deletes
* Entities may implement Java interfaces
* Entities may extend a Java class
* Added LIMIT and OFFSET support for QueryBuilder and Query
* Convenience methods to add named relationships
* SQL scripts are executed in a transaction by default
* Fixed queries with special column names (SQL keywords)
* Changed default names for to-many relations to end with "List"
* ORDER BY uses LOCALIZED collation for strings by default
### V1.0.1 (2011-10-30): Bugfix release
* Fixed generation of to-many relations
* Fixed generated import statements when entities/DAO are not in the same package
### V1.0.0 (2011-10-24): First open source release
* To-many relations (lazily loaded on the entities)
* To-many relations with custom join properties
* Active entities can be updated, refreshed, and deleted directly
* Significant performance improvements (faster identity scope, faster database result parser)
* "Keep sections" for custom code in entities were added that won't be overwritten during code generation
* Other minor improvements
### Third preview (2011-08-19)
http://greendao-orm.com/2011/08/19/query-builder-and-lazy-loading-lists/
### Second preview (2011-08-12)
http://greendao-orm.com/2011/08/12/greendao-2nd-preview/
### First public release (2011-08-04)
http://greendao-orm.com/2011/08/04/greendao-public-release/
没有合适的资源?快使用搜索试试~ 我知道了~
android greenDAO
共257个文件
java:167个
prefs:17个
xml:14个
4星 · 超过85%的资源 需积分: 3 10 下载量 176 浏览量
2013-12-30
12:36:25
上传
评论
收藏 907KB ZIP 举报
温馨提示
greenDAO是一个可以帮助Android开发者快速将Java对象映射到SQLite数据库的表单中的ORM解决方案,通过使用一个简单的面向对象APi,开发者可以对java对象进行存储、更新、删除 最大性能 易于使用API 高度优化 最小内存消耗
资源推荐
资源详情
资源评论
收起资源包目录
android greenDAO (257个子文件)
proguard.cfg 1KB
proguard.cfg 1KB
proguard.cfg 1KB
proguard.cfg 1KB
.classpath 845B
.classpath 613B
.classpath 608B
.classpath 557B
.classpath 511B
.classpath 466B
dao.ftl 12KB
entity.ftl 10KB
content-provider.ftl 7KB
dao-deep.ftl 5KB
dao-master.ftl 4KB
dao-session.ftl 3KB
dao-unit-test.ftl 2KB
.gitignore 50B
.gitignore 45B
.gitignore 23B
.gitignore 17B
.gitignore 12B
.gitignore 10B
.gitignore 7B
build.gradle 4KB
build.gradle 4KB
build.gradle 487B
build.gradle 482B
build.gradle 407B
settings.gradle 56B
settings.gradle 47B
settings.gradle 39B
settings.gradle 37B
settings.gradle 29B
build.gradle 0B
ormlite-core-4.34-SNAPSHOT.jar 254KB
greenDAO-javadoc.jar 190KB
greendao-1.3.0-beta-1.jar 86KB
ormlite-android-4.34-SNAPSHOT.jar 44KB
AbstractDao.java 27KB
Entity.java 21KB
LongHashMapJDBM.java 16KB
QueryBuilder.java 16KB
AsyncOperationExecutor.java 13KB
AsyncSession.java 13KB
TestDaoGenerator.java 11KB
DaoSessionConcurrentTest.java 11KB
AbstractDaoTestSinglePk.java 10KB
DaoSession.java 10KB
RelationEntityDao.java 10KB
LazyList.java 10KB
LongSparseArray.java 9KB
DaoGenerator.java 9KB
QueryBuilderSimpleTest.java 8KB
ToManyTargetEntityDao.java 8KB
ToManyEntityTest.java 8KB
OrderDao.java 8KB
LongHashMapAmarena2DZechner.java 8KB
TreeEntityDao.java 8KB
SimpleEntityDao.java 7KB
TestEntityDao.java 7KB
AbcdefEntityDao.java 7KB
Property.java 7KB
RelationEntityTest.java 7KB
AbstractDaoSession.java 7KB
Schema.java 7KB
RelationSource2Dao.java 7KB
Query.java 7KB
RelationEntity.java 7KB
SpecialNamesEntityDao.java 7KB
AsyncOperation.java 7KB
LazyListTest.java 7KB
ToManyEntity.java 6KB
DaoConfig.java 6KB
LoockupPerformanceTest.java 6KB
SimpleEntityNotNullDao.java 6KB
QueryBuilderAndOrTest.java 6KB
FastCursor.java 6KB
WhereCondition.java 6KB
BasicAsyncTest.java 6KB
QueryBuilderOrderTest.java 5KB
PerformanceTestOrmLite.java 5KB
PerformanceTest.java 5KB
SqlUtils.java 5KB
DaoMaster.java 5KB
ToMany.java 5KB
SimpleEntityTest.java 5KB
ReflectionPerformanceTest.java 5KB
QueryLimitOffsetTest.java 5KB
LongHashMap.java 5KB
RelationSource2.java 5KB
QueryThreadLocalTest.java 5KB
DbUtils.java 5KB
ToOne.java 5KB
CountQueryTest.java 4KB
DeleteQueryTest.java 4KB
Property.java 4KB
NoteActivity.java 4KB
SimpleEntityContentProvider.java 4KB
ToManyTarget2Dao.java 4KB
共 257 条
- 1
- 2
- 3
资源评论
- 孤松客0022015-01-16东西不错,学习了,但是里面有错误,望作者改进!!
美_
- 粉丝: 3
- 资源: 86
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- JavaScript函数
- java-leetcode题解之Range Sum Query 2D - Mutable.java
- java-leetcode题解之Random Pick Index.java
- java-leetcode题解之Race Car.java
- java-leetcode题解之Profitable Schemes.java
- java-leetcode题解之Product of Array Exclude Itself.java
- java-leetcode题解之Prime Arrangements.java
- MCU51-51单片机
- java-leetcode题解之Power of Two.java
- java-leetcode题解之Power of Three.java
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功