Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 37 additions & 13 deletions docs/modules/databases/jdbc.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,38 +27,62 @@ Insert `tc:` after `jdbc:` as follows. Note that the hostname, port and database

### JDBC URL examples

#### Using Testcontainers with a fixed version
#### Using ClickHouse

`jdbc:tc:clickhouse:18.10.3:///databasename`

#### Using CockroachDB

`jdbc:tc:cockroach:v21.2.3:///databasename`

#### Using CrateDB

`jdbc:tc:cratedb:5.2.3//localhost:5432/crate`

#### Using DB2

`jdbc:tc:db2:11.5.0.0a//localhost:5432/crate`

#### Using MariaDB

`jdbc:tc:mariadb:10.2.14:///databasename`

#### Using MySQL

`jdbc:tc:mysql:5.7.34:///databasename`

#### Using PostgreSQL
#### Using MSSQL Server

`jdbc:tc:postgresql:9.6.8:///databasename`
`jdbc:tc:sqlserver:2017-CU12:///databasename`

#### Using PostGIS
#### Using Oracle

`jdbc:tc:postgis:9.6-2.5:///databasename`
`jdbc:tc:oracle:21-slim-faststart:///databasename`

#### Using TimescaleDB
#### Using PostGIS

`jdbc:tc:timescaledb:2.1.0-pg13:///databasename`
`jdbc:tc:postgis:9.6-2.5:///databasename`

#### Using Trino
#### Using PostgreSQL

`jdbc:tc:trino:352://localhost/memory/default`
`jdbc:tc:postgresql:9.6.8:///databasename`

#### Using CockroachDB
#### Using QuestDB

`jdbc:tc:cockroach:v21.2.3:///databasename`
`jdbc:tc:postgresql:6.5.3:///databasename`

#### Using CrateDB
#### Using TimescaleDB

`jdbc:tc:cratedb:5.2.3//localhost:5432/crate`
`jdbc:tc:timescaledb:2.1.0-pg13:///databasename`

#### Using TiDB

`jdbc:tc:tidb:v6.1.0:///databasename`

#### Using Trino

`jdbc:tc:trino:352://localhost/memory/default`

#### Using YugabyteDB

`jdbc:tc:yugabyte:2.14.4.0-b26:///databasename`
Expand Down