You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-17Lines changed: 4 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
greenDAO
2
2
========
3
-
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.
3
+
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.
4
4
5
5
**<fontsize="+1">Home page, documentation, and support links: http://greenrobot.org/greendao/</font>**
6
6
@@ -12,27 +12,25 @@ greenDAO's unique set of features:
12
12
13
13
* Rock solid: greenDAO has been around since 2011 and is used by countless famous apps
14
14
* Super simple: concise and straight-forward API
15
-
* Small: The library is <100K and it's just plain Java jar (no CPU dependent native parts)
15
+
* Small: The library is <150K and it's just plain Java jar (no CPU dependent native parts)
16
16
* Fast: Probably the fastest ORM for Android, driven by intelligent code generation
17
17
* Safe and expressive query API: QueryBuilder uses property constants to avoid typos
18
18
* Powerful joins: query across entities and even chain joins for complex relations
19
19
* Flexible property types: use custom classes or enums to represent data in your entity
20
20
21
-
22
21
Add greenDAO to your project
23
22
----------------------------
24
23
greenDAO is available on Maven Central. Please ensure that you are using the latest versions by [checking here](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.greenrobot%22%20AND%20a%3A%22greendao%22)[and here](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.greenrobot%22%20AND%20a%3A%22greendao-generator%22)
Gradle dependency for your Java generator project:
32
31
```
33
-
compile 'org.greenrobot:greendao-generator:2.2.0'
32
+
compile 'org.greenrobot:greendao-generator:3.0.0'
34
33
```
35
-
*Note:* to use encrypted databases using SQLCipher, you need to reference different artifacts (postfix '-encryption'). For all details, please refer to the documentation on [database encryption](http://greenrobot.org/greendao/documentation/database-encryption/).
36
34
37
35
Homepage, Documentation, Links
38
36
------------------------------
@@ -48,17 +46,6 @@ For more details on greenDAO please check [greenDAO's website](http://greenrobot
Those features are already here for you to try out. Note: Documentation and test coverage may be lacking, and the API may change in the future.
54
-
### Asynchronous API
55
-
* New AsyncSession (acquired from DaoSession.startAsyncSession()) provides most operations for DAOs, Queries, and transactions in a asynchronously variant
56
-
* AsyncOperations are processed in order by a background thread
57
-
* waitForCompletion methods for AsyncSession and AsyncOperations
58
-
* AsyncOperationListener for asynchronous callback when operations complete
59
-
* Asynchronous operations can be merged in single transactions (details follow)
60
-
* Added raw SQL queries returning a Query object (LazyList support etc.)
61
-
62
49
More Open Source by greenrobot
63
50
==============================
64
51
[__EventBus__](https://github.com/greenrobot/EventBus) is a central publish/subscribe bus for Android with optional delivery threads, priorities, and sticky events. A great tool to decouple components (e.g. Activities, Fragments, logic components) from each other.
0 commit comments