A Java ORM for Couchbase Lite
APACHE-2.0 License
This is the first approach to implement an ORM for Couchbase Lite in Java. I'm still working on it.
Gradle:
compile 'com.braisgabin.couchbaseliteorm:couchbaseliteorm:0.1.0-SNAPSHOT'
provided 'com.braisgabin.couchbaseliteorm:couchbaseliteorm-compiler:0.1.0-SNAPSHOT'
You must add the Sonatype's snapshots repository:
repositories {
maven { url 'https://oss.sonatype.org/content/groups/public' }
}
Or you can download the .jar
directly from the Sonatype's snapshots repository.
The annotations in Java have a weakness: their value can't be null
. You can read this in the JSL:
Note that null is not a legal element value for any element type.
For more information I recommend read this Stack Overflow answer.
For this reason I'm forced to use the magic string "☕️💩"
. So, if one of your types is named "☕️💩"
you have found the Easter Egg!
Apache License 2.0