A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ClickHouse/clickhouse-jdbc below:

ClickHouse/clickhouse-java: ClickHouse Java Clients & JDBC Driver

ClickHouse Java Client & JDBC Driver

Table of Contents

This is a repo of the Java Client and JDBC Driver for ClickHouse Database (https://github.com/ClickHouse/Clickhouse) supported by the ClickHouse team. The Java Client is the core component that provides an API to interact with the database via HTTP Protocol.
The JDBC driver component implements the JDBC specification and communicates with ClickHouse using the Java Client API. Historically, there are two versions of both components. The previous version of the Java client required a significant rewrite, so we decided to create a new one, client-v2, not to disturb anyone's work and to give time for migration. The JDBC driver also required changes to be compatible with the new client and comply more with JDBC specs, and we created jdbc-v2. This component will replace an old version (to keep the artifact name).

Name Client V2 Client V1 Comments Http Connection ✔ ✔ Http Compression (LZ4) ✔ ✔ Server Response Compression - LZ4 ✔ ✔ Client Request Compression - LZ4 ✔ ✔ HTTPS ✔ ✔ Client SSL Cert (mTLS) ✔ ✔ Http Proxy with Authentication ✔ ✔ Java Object SerDe ✔ ✗ Connection Pool ✔ ✔ Apache HTTP Client only Named Parameters ✔ ✔ Retry on failure ✔ ✔ Failover ✗ ✔ Load-balancing ✗ ✔ Server auto-discovery ✗ ✔ Log Comment ✔ ✔ Session Roles ✔ ✔ SSL Client Authentication ✔ ✔ Session timezone ✔ ✔ Artifact Changes in 0.9.0 (June)

We are going to retire some JDBC artifacts (actually only classifiers) in 0.9.0. Here is the list:

Artifact Classifier Comments clickhouse-jdbc shaded Use one with all classifier instead clickhouse-jdbc http clickhouse-jdbc shaded-all Use one with all classifier instead

Artifact com.clickhouse:clickhouse-jdbc remains untouched. Artifact com.clickhouse:clickhouse-jdbc:0.9.0:all will contain all required classes.

Component Version Comment ClickHouse Java v1 TBC We'll be deprecating Java v1 in 2025

Releases: Maven Central (web site https://mvnrepository.com/artifact/com.clickhouse)

Nightly Builds: https://s01.oss.sonatype.org/content/repositories/snapshots/com/clickhouse/

Begin-with Usage Examples

Spring Demo Service

See JDBC examples

Please see our contributing guide.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4