Skip to content

Commit d3cfcc9

Browse files
committed
Add Testcontainers JDBC URL section to modules
1 parent a72adad commit d3cfcc9

File tree

17 files changed

+105
-0
lines changed

17 files changed

+105
-0
lines changed

docs/modules/databases/clickhouse.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ You can start a ClickHouse container instance from any Java application by using
1010
[Container definition](../../../modules/clickhouse/src/test/java/org/testcontainers/clickhouse/ClickHouseContainerTest.java) inside_block:container
1111
<!--/codeinclude-->
1212

13+
### Testcontainers JDBC URL
14+
15+
`jdbc:tc:clickhouse:18.10.3:///databasename`
16+
17+
See [JDBC](./jdbc.md) for documentation.
18+
1319
## Adding this module to your project dependencies
1420

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

docs/modules/databases/cockroachdb.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ You can start a CockroachDB container instance from any Java application by usin
1212

1313
See [Database containers](./index.md) for documentation and usage that is common to all relational database container types.
1414

15+
### Testcontainers JDBC URL
16+
17+
`jdbc:tc:cockroach:v21.2.3:///databasename`
18+
19+
See [JDBC](./jdbc.md) for documentation.
20+
1521
## Adding this module to your project dependencies
1622

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

docs/modules/databases/cratedb.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ You can start a CrateDB container instance from any Java application by using:
1212

1313
See [Database containers](./index.md) for documentation and usage that is common to all relational database container types.
1414

15+
### Testcontainers JDBC URL
16+
17+
`jdbc:tc:cratedb:5.2.3:///databasename`
18+
19+
See [JDBC](./jdbc.md) for documentation.
20+
1521
## Adding this module to your project dependencies
1622

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

docs/modules/databases/databend.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ You can start a Databend container instance from any Java application by using:
1010
[Container definition](../../../modules/databend/src/test/java/org/testcontainers/databend/DatabendContainerTest.java) inside_block:container
1111
<!--/codeinclude-->
1212

13+
### Testcontainers JDBC URL
14+
15+
`jdbc:tc:databend:v1.2.615:///databasename`
16+
17+
See [JDBC](./jdbc.md) for documentation.
18+
1319
## Adding this module to your project dependencies
1420

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

docs/modules/databases/db2.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ You can start a DB2 container instance from any Java application by using:
1717

1818
See [Database containers](./index.md) for documentation and usage that is common to all relational database container types.
1919

20+
### Testcontainers JDBC URL
21+
22+
`jdbc:tc:db2:11.5.0.0a:///databasename`
23+
24+
See [JDBC](./jdbc.md) for documentation.
25+
2026
## Adding this module to your project dependencies
2127

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

docs/modules/databases/mariadb.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ You can start a MySQL container instance from any Java application by using:
1212

1313
See [Database containers](./index.md) for documentation and usage that is common to all relational database container types.
1414

15+
### Testcontainers JDBC URL
16+
17+
`jdbc:tc:mariadb:10.3.39:///databasename`
18+
19+
See [JDBC](./jdbc.md) for documentation.
20+
1521
## MariaDB `root` user password
1622

1723
If no custom password is specified, the container will use the default user password `test` for the `root` user as well.

docs/modules/databases/mssqlserver.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ You can start a MS SQL Server container instance from any Java application by us
1717

1818
See [Database containers](./index.md) for documentation and usage that is common to all relational database container types.
1919

20+
### Testcontainers JDBC URL
21+
22+
`jdbc:tc:sqlserver:2017-CU12:///databasename`
23+
24+
See [JDBC](./jdbc.md) for documentation.
25+
2026
## Adding this module to your project dependencies
2127

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

docs/modules/databases/mysql.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ You can start a MySQL container instance from any Java application by using:
1212

1313
See [Database containers](./index.md) for documentation and usage that is common to all relational database container types.
1414

15+
### Testcontainers JDBC URL
16+
17+
`jdbc:tc:mysql:8.0.36:///databasename`
18+
19+
See [JDBC](./jdbc.md) for documentation.
20+
1521
## Overriding MySQL my.cnf settings
1622

1723
For MySQL databases, it is possible to override configuration settings using resources on the classpath. Assuming `somepath/mysql_conf_override`

docs/modules/databases/oceanbase.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ You can start an OceanBase container instance from any Java application by using
1212

1313
See [Database containers](./index.md) for documentation and usage that is common to all relational database container types.
1414

15+
### Testcontainers JDBC URL
16+
17+
`jdbc:tc:oceanbasece:4.2.1-lts:///databasename`
18+
19+
See [JDBC](./jdbc.md) for documentation.
20+
1521
## Adding this module to your project dependencies
1622

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

docs/modules/databases/oraclefree.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ You can start an Oracle-Free container instance from any Java application by usi
1212

1313
See [Database containers](./index.md) for documentation and usage that is common to all relational database container types.
1414

15+
### Testcontainers JDBC URL
16+
17+
`jdbc:tc:oracle:21-slim-faststart:///databasename`
18+
19+
See [JDBC](./jdbc.md) for documentation.
20+
1521
## Adding this module to your project dependencies
1622

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

0 commit comments

Comments
 (0)