[ Web Proxy ]
URL:
Viewing: https://java.testcontainers.org/supported_docker_environment/../../modules/databases/orientdb/ [Back]  [Original]

OrientDB Module - Testcontainers for Java
Skip to content
Testcontainers [Testcontainers] Menu
testcontainers-java
Content

OrientDB Module

Testcontainers module for OrientDB

Usage example

You can start an OrientDB container instance from any Java application by using:

Container creation
OrientDBContainer orientdb = new OrientDBContainer("orientdb:3.2.0-tp3")

Adding this module to your project dependencies

Add the following dependency to your pom.xml/build.gradle file:

GradleMaven
testImplementation "org.testcontainers:testcontainers-orientdb:2.0.5"
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>testcontainers-orientdb</artifactId>
    <version>2.0.5</version>
    <scope>test</scope>
</dependency>

Hint

Add the OrientDB Java client if you plan to access the Testcontainer:

GradleMaven
compile "com.orientechnologies:orientdb-client:3.0.24"
<dependency>
    <groupId>com.orientechnologies</groupId>
    <artifactId>orientdb-client</artifactId>
    <version>3.0.24</version>
</dependency>

Web Proxy Viewer  |  New URL  |  Original Page