Home

Awesome

Guice integration for OrientDB

License CI Appveyor build status codecov

DOCUMENTATION: http://xvik.github.io/guice-persist-orient/

Examples repository

Support: Gitter chat

guice-persist-orient wins 4th place in Software Quality Award 2015

About

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:

Thanks to

Setup

Maven Central

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.

OrientDBGuiceguice-persist-orient
3.15.0.14.1.0
3.05.0.14.0.0
2.24.2.03.3.2
2.14.1.03.2.0
2.04.0.03.1.1
1.04.0.02.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.

Snapshots

You can use snapshot versions through JitPack:

Usage

Read documentation

Might also like

Contribution

Contributions are always welcome, but please check before patch submission:

$ gradlew check

java lib generator