Redgate Flyway

TestContainers

Testcontainers

  • Verified Versions: N/A
  • Maintainer: Redgate

Supported Versions and Support Levels

Driver

Item Details
URL format jdbc:tc: instead of jdbc: for your database
Ships with Flyway Command-line No
Maven Central coordinates Database specific JARs:
org.testcontainers:cockroachdb:jar
org.testcontainers:db2:jar
org.testcontainers:mariadb:jar
org.testcontainers:mssqlserver:jar
org.testcontainers:mysql:jar
org.testcontainers:oracle-xe:jar
org.testcontainers:postgresql:jar
org.testcontainers:tidb:jar
org.testcontainers:yugabytedb:jar
Dependencies:
org.testcontainers:jdbc:jar
org.testcontainers:database-commons:jar
org.testcontainers:testcontainers:jar
Supported versions 1.17.6
Default Java class org.testcontainers.jdbc.ContainerDatabaseDriver

Compatibility

Example URL

jdbc:tc:postgresql:11-alpine://localhost:5432/databasename

Limitations

  • If Flyway doesn't ship with a database driver for your chosen database, you will still need to provide one in order to use it with Testcontainers. For example, if you want to connect to a DB2 database with Testcontainers you will still need to provide a DB2 driver whose Maven Central coordinates are com.ibm.db2.jcc:11.5.0.0

Didn't find what you were looking for?