2. What is greenDAO?
An open source project
Help Android developers working with SQLite
Writing SQL
Parsing query results
Maps Java objects to database tables (ORM)
store, update, delete, and query using OO API
2
3. Why should we choose greenDAO?
Maximum performance
probably the fastest ORM for Android
Easy to use APIs
Highly optimized for Android
Minimal memory consumption
Small library size
3
4. Who is using greenDAO?
4
Camera360、Path
等App已有在使用
8. Other superiorities
Slim library
Core library less than 100k
Code generation
Pre-generated code and creating the table
Java data objects, DAO objects
8
ORM: 用(OO)物件導向的方法來操作資料庫。
greenDAO is an open source project to help Android developers working with data stored in SQLite. SQLite is an awesome embedded relational database. However, developing for it requires alot of additional work. Writing SQL and parsing query results are quite tedious tasks. greenDAO will do the work for you: it maps Java objects to database tables (often calledORM). This way you can store, update, delete, and query for Java objects using a simple object oriented API. Save time and focus on real problems!