Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit 0daf7bc

Browse files
authored
Merge pull request #120 from zhicwu/prepare-2.0.5
Bump JDBC driver
2 parents aaf6ebb + fa04fa0 commit 0daf7bc

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,8 @@ jobs:
8686
${{ github.event.inputs.organization }}/clickhouse-jdbc-bridge:${{ github.event.inputs.major }}
8787
${{ github.event.inputs.organization }}/clickhouse-jdbc-bridge:${{ github.event.inputs.major }}.${{ github.event.inputs.minor }}
8888
${{ github.event.inputs.organization }}/clickhouse-jdbc-bridge:${{ github.event.inputs.major }}.${{ github.event.inputs.minor }}.${{ github.event.inputs.patch }}
89+
clickhouse/jdbc-bridge:latest
90+
clickhouse/jdbc-bridge:${{ github.event.inputs.major }}
91+
clickhouse/jdbc-bridge:${{ github.event.inputs.major }}.${{ github.event.inputs.minor }}
92+
clickhouse/jdbc-bridge:${{ github.event.inputs.major }}.${{ github.event.inputs.minor }}.${{ github.event.inputs.patch }}
93+

all-in-one.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ RUN apt-get update \
6666
&& wget -q -P /etc/clickhouse-jdbc-bridge/drivers/mysql8 \
6767
https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.26/mysql-connector-java-8.0.26.jar \
6868
&& wget -q -P /etc/clickhouse-jdbc-bridge/drivers/postgres \
69-
https://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.23/postgresql-42.2.23.jar \
69+
https://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.24/postgresql-42.2.24.jar \
7070
&& sed -i -e 's|\(^[[:space:]]*\)\(exec.*clickhouse-server.*$\)|\1exec -c clickhouse-jdbc-bridge >/dev/null \&\n\1\2|' /entrypoint.sh \
7171
&& echo '{\n\
7272
"$schema": "../datasource-schema.json",\n\

docker/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ The latest tag points to the latest release from `master` branch. Branch tags li
1212
```bash
1313
docker run -d --name ch-jdbc-bridge -p9019:9019 \
1414
-e MAVEN_REPO_URL="https://repo1.maven.org/maven2" \
15-
-e JDBC_DRIVERS="org/mariadb/jdbc/mariadb-java-client/2.7.4/mariadb-java-client-2.7.4.jar,org/postgresql/postgresql/42.2.23/postgresql-42.2.23.jar" clickhouse/jdbc-bridge
15+
-e JDBC_DRIVERS="org/mariadb/jdbc/mariadb-java-client/2.7.4/mariadb-java-client-2.7.4.jar,org/postgresql/postgresql/42.2.24/postgresql-42.2.24.jar" clickhouse/jdbc-bridge
1616
```
1717
If you prefer to use JDBC drivers and named datasources on host, you can use the following commands:
1818
```bash
1919
wget -P drivers \
2020
https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/2.7.4/mariadb-java-client-2.7.4.jar \
21-
https://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.23/postgresql-42.2.23.jar
21+
https://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.24/postgresql-42.2.24.jar
2222
wget -P datasources \
2323
https://raw.githubusercontent.com/ClickHouse/clickhouse-jdbc-bridge/master/misc/quick-start/jdbc-bridge/config/datasources/mariadb10.json \
2424
https://raw.githubusercontent.com/ClickHouse/clickhouse-jdbc-bridge/master/misc/quick-start/jdbc-bridge/config/datasources/postgres13.json

misc/quick-start/jdbc-bridge/config/datasources/postgres13.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"mappings": [{ "nativeType": "bool", "toType": "String" }]
66
},
77
"driverUrls": [
8-
"https://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.23/postgresql-42.2.23.jar"
8+
"https://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.24/postgresql-42.2.24.jar"
99
],
1010
"driverClassName": "org.postgresql.Driver",
1111
"jdbcUrl": "jdbc:postgresql://db-postgres13/test",

0 commit comments

Comments
 (0)