Guice integartion for OrientDB
DOCUMENTATION: http://xvik.github.io/guice-persist-orient/
Support: Gitter chat
guice-persist-orient
wins 4th place in Software Quality Award 2015
OrientDB is document, graph and object database (see intro and starter course). Underlying format is almost the same for all database types, which allows us to use single database in any way. For example, schema creation and updates may be performed as object database (jpa style) and graph api may be used for creating relations.
Features:
Maven:
<dependency>
<groupId>ru.vyarus</groupId>
<artifactId>guice-persist-orient</artifactId>
<version>4.1.0</version>
</dependency>
<!--
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb-object</artifactId>
<version>3.1.12</version>
</dependency>
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb-graphdb</artifactId>
<version>3.1.12</version>
</dependency>-->
Gradle:
implementation 'ru.vyarus:guice-persist-orient:4.1.0'
//implementation "com.orientechnologies:orientdb-object:3.1.12"
//implementation "com.orientechnologies:orientdb-graphdb:3.1.12"
Commented imports required to enable object and graph db support.
OrientDB | Guice | guice-persist-orient |
---|---|---|
3.1 | 5.0.1 | 4.1.0 |
3.0 | 5.0.1 | 4.0.0 |
2.2 | 4.2.0 | 3.3.2 |
2.1 | 4.1.0 | 3.2.0 |
2.0 | 4.0.0 | 3.1.1 |
1.0 | 4.0.0 | 2.1.0 |
NOTE: It's very important for object db to use exact javassist
version it depends on. If other libraries in
your classpath use javassist
, check that newer or older version not appear in classpath.
You can use snapshot versions through JitPack:
Commits
section and click Get it
on commit you want to use (top one - the most recent)Read documentation
Contributions are always welcome, but please check before patch submission:
$ gradlew check