| [ Web Proxy ] |
| Viewing: https://java.testcontainers.org/supported_docker_environment/../../modules/databases/orientdb/ | [Back] [Original] |
Testcontainers module for OrientDB
You can start an OrientDB container instance from any Java application by using:
OrientDBContainer orientdb = new OrientDBContainer("orientdb:3.2.0-tp3")
Add the following dependency to your pom.xml/build.gradle file:
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:
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 |