Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.8k
Add support to clickhouse JDBC V2#10280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Add support to clickhouse JDBC V2#10280
Uh oh!
There was an error while loading.Please reload this page.
Conversation
eddumelendez left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks for your contribution,@thiagohora. I've left some comments.
modules/clickhouse/src/main/java/org/testcontainers/containers/ClickHouseContainer.java OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
modules/clickhouse/src/main/java/org/testcontainers/clickhouse/ClickHouseContainer.java OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
modules/clickhouse/src/main/java/org/testcontainers/clickhouse/ClickHouseContainer.java OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
modules/clickhouse/src/main/java/org/testcontainers/clickhouse/ClickHouseContainer.java OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
modules/clickhouse/src/main/java/org/testcontainers/clickhouse/ClickHouseContainer.java OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
df3ed30 intotestcontainers:mainUh oh!
There was an error while loading.Please reload this page.
eddumelendez commentedMay 29, 2025
Thanks for your contribution,@thiagohora |
Description
This pull request adds support forClickHouse JDBC v2 driver to the Testcontainers ClickHouse module.
Context
com.clickhouse.jdbc.Driverandcom.clickhouse.jdbc.ClickHouseDriver) introduces enhanced functionality and compatibility with ClickHouse server versions >= 20.7.ru.yandex.clickhouse.ClickHouseDriver), which is now deprecated.Changes
ClickHouseContainerto detect and load the correct driver class (v1 or v2) depending on the server version and classpath.Why is this useful?
Issues
Fixes#10279