Skip to content

Commit 679ae7b

Browse files
authored
Merge pull request #4756 from ClickHouse/update_java_docs_nov_2025
Update java docs Dec 2025
2 parents 0fe8195 + 1937f1f commit 679ae7b

File tree

8 files changed

+2044
-1750
lines changed

8 files changed

+2044
-1750
lines changed

docs/integrations/language-clients/java/client/_snippets/_v0_7.mdx

Lines changed: 0 additions & 336 deletions
This file was deleted.

docs/integrations/language-clients/java/client/_snippets/_v0_8.mdx

Lines changed: 0 additions & 783 deletions
This file was deleted.

docs/integrations/language-clients/java/client/client.mdx

Lines changed: 1393 additions & 7 deletions
Large diffs are not rendered by default.

docs/integrations/language-clients/java/index.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: 'Java'
3+
sidebar_position: 1
34
keywords: ['clickhouse', 'java', 'jdbc', 'client', 'integrate', 'r2dbc']
45
description: 'Options for connecting to ClickHouse from Java'
56
slug: /integrations/java
@@ -20,7 +21,7 @@ import CodeBlock from '@theme/CodeBlock';
2021

2122
Java client is a library implementing own API that abstracts details of network communications with ClickHouse server. Currently HTTP Interface is supported only. The library provide utilities to work with different ClickHouse formats and other related functions.
2223

23-
Java Client was developed far back in 2015. Its codebase became very hard to maintain, API is confusing, it is hard to optimize it further. So we have refactored it in 2024 into a new component `client-v2`. It has clear API, lighter codebase and more performance improvements, better ClickHouse formats support (RowBinary & Native mainly). JDBC will use this client in near feature.
24+
Java Client was developed far back in 2015. Its codebase became very hard to maintain, API is confusing, it is hard to optimize it further. So we have refactored it in 2024 into a new component `client-v2`. It has clear API, lighter codebase and more performance improvements, better ClickHouse formats support (RowBinary & Native mainly). JDBC will use this client in near feature.
2425

2526
### Supported data types {#supported-data-types}
2627

@@ -83,7 +84,7 @@ Java Client was developed far back in 2015. Its codebase became very hard to mai
8384
- AggregatedFunction - :warning: does not support `SELECT * FROM table ...`
8485
- Decimal - `SET output_format_decimal_trailing_zeros=1` in 21.9+ for consistency
8586
- Enum - can be treated as both string and integer
86-
- UInt64 - mapped to `long` in client-v1
87+
- UInt64 - mapped to `long` in client-v1
8788
:::
8889

8990
### Features {#features}
@@ -94,7 +95,8 @@ Table of features of the clients:
9495
|----------------------------------------------|:---------:|:---------:|:---------:|
9596
| Http Connection ||| |
9697
| Http Compression (LZ4) ||| |
97-
| Server Response Compression - LZ4 ||| |
98+
| Application Controlled Compression ||| |
99+
| Server Response Compression - LZ4 ||| |
98100
| Client Request Compression - LZ4 ||| |
99101
| HTTPS ||| |
100102
| Client SSL Cert (mTLS) ||| |
@@ -109,6 +111,7 @@ Table of features of the clients:
109111
| Log Comment ||| |
110112
| Session Roles ||| |
111113
| SSL Client Authentication ||| |
114+
| SNI Configuration ||| |
112115
| Session timezone ||| |
113116

114117
JDBC Drive inherits same features as underlying client implementation. Other JDBC features are listed on its [page](/integrations/language-clients/java/jdbc).
@@ -122,7 +125,7 @@ JDBC Drive inherits same features as underlying client implementation. Other JDB
122125

123126
### Logging {#logging}
124127

125-
Our Java language client uses [SLF4J](https://www.slf4j.org/) for logging. You can use any SLF4J-compatible logging framework, such as `Logback` or `Log4j`.
128+
Our Java language client uses [SLF4J](https://www.slf4j.org/) for logging. You can use any SLF4J-compatible logging framework, such as `Logback` or `Log4j`.
126129
For example, if you are using Maven you could add the following dependency to your `pom.xml` file:
127130

128131
```xml title="pom.xml"

docs/integrations/language-clients/java/jdbc/_snippets/_v0_7.mdx

Lines changed: 0 additions & 387 deletions
This file was deleted.

docs/integrations/language-clients/java/jdbc/_snippets/_v0_8.mdx

Lines changed: 0 additions & 225 deletions
This file was deleted.

0 commit comments

Comments
 (0)