@@ -33,9 +33,9 @@ of examples you can explore here:
3333- ``TestFunctionScope ``: Function-scoped testcontainer instance with automatic setup/teardown, see `Restarted containers `_.
3434- ``TestJdbcUrlScheme ``: Database containers launched via Testcontainers "TC" JDBC URL scheme.
3535- ``TestManual ``: Function-scoped testcontainer instance with manual setup/teardown.
36- - ``TestManualWithLegacyCrateJdbcDriver ``:
36+ - ``TestManualWithCrateDBJdbcDriver ``:
3737 Function-scoped testcontainer instance with manual setup/teardown, using a custom
38- ``CrateDBContainer ``, which uses the `legacy CrateDB JDBC driver `_.
38+ ``CrateDBContainer ``, which uses the `CrateDB JDBC driver `_.
3939- ``TestSharedSingleton ``:
4040 Testcontainer instance shared across multiple test classes, implemented using the Singleton pattern, see `Singleton containers `_.
4141- ``TestSharedSingletonEnvironmentVersion ``:
@@ -45,6 +45,8 @@ of examples you can explore here:
4545- ``TestSqlInitialization ``: Demonstrate different ways how Testcontainers can run an init script after
4646 the database container is started, but before your code initiates a connection to it.
4747
48+ Unless otherwise noted, all examples use the `PostgreSQL JDBC driver `_ for
49+ connecting to CrateDB.
4850
4951*****
5052Usage
@@ -74,15 +76,16 @@ Usage
7476 docker run -it --rm --publish=4200:4200 --publish=5432:5432 \
7577 crate:latest -Cdiscovery.type=single-node
7678
77- # Run example program, using both the CrateDB legacy
78- # JDBC driver, and the vanilla PostgreSQL JDBC driver.
79+ # Run example program, using both the CrateDB JDBC driver,
80+ # and the vanilla PostgreSQL JDBC driver.
7981 ./gradlew run --args="jdbc:crate://localhost:5432/"
8082 ./gradlew run --args="jdbc:postgresql://localhost:5432/"
8183
8284
8385.. _CrateDB : https://github.com/crate/crate
86+ .. _CrateDB JDBC driver : https://cratedb.com/docs/guide/connect/java/cratedb-jdbc.html
8487.. _CrateDB OCI image : https://hub.docker.com/_/crate
85- .. _ legacy CrateDB JDBC driver : https://crate.io /docs/jdbc/
88+ .. _ PostgreSQL JDBC driver : https://cratedb.com /docs/guide/connect/java/postgresql-jdbc.html
8689.. _Restarted containers : https://java.testcontainers.org/test_framework_integration/junit_5/#restarted-containers
8790.. _Shared containers : https://java.testcontainers.org/test_framework_integration/junit_5/#shared-containers
8891.. _Singleton containers : https://java.testcontainers.org/test_framework_integration/manual_lifecycle_control/#singleton-containers
0 commit comments