ArangoDB v3.13 is under development and not released yet. This documentation is not final and potentially incomplete.
ArangoDB Java Driver version 6
The official ArangoDB Java Driver version 6
- Repository: https://github.com/arangodb/arangodb-java-driver/tree/v6
- Code examples
- JavaDoc (generated reference documentation)
- ChangeLog
- Java VelocyPack (JavaDoc )
Supported versions
Only the latest version of this driver is maintained to support the most recent ArangoDB server features. It is compatible with all supported stable versions of ArangoDB server, see Product Support End-of-life Announcements .
The minimum required Java version is 1.8+ (since driver version 6.x.x).
Sync and async usage
The driver can be used synchronously as well as asynchronously. The formerly separate async
driver with the same API as the synchronous driver, except that it returned a
CompletableFuture<T>
instead of the result T
directly, was merged into this
driver in version 6.2.0. See
async examples .
Maven
To add the driver to your project with Maven, add the following code to your
pom.xml (substitute x.x.x
with the latest driver version):
<dependencies>
<dependency>
<groupId>com.arangodb</groupId>
<artifactId>arangodb-java-driver</artifactId>
<version>x.x.x</version>
</dependency>
</dependencies>
Compile the Java Driver
mvn clean install -DskipTests=true -Dgpg.skip=true -Dmaven.javadoc.skip=true -B
GraalVM Native Image
The driver supports GraalVM Native Image generation since version 6.6.1
.
The related configuration can be found here:
Quarkus and Helidon support
The driver can be used from Quarkus and Helidon applications and does not require any additional configuration for GraalVM native image generation. Examples can be found here: