You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/integrations/language-clients/java/jdbc-v2.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,8 @@ import CodeBlock from '@theme/CodeBlock';
13
13
14
14
# JDBC Driver
15
15
16
-
`clickhouse-jdbc` implements the standard JDBC interface using [client-v2](/docs/en/integrations/language-clients/java/client-v2.md).
17
-
We recommend using [client-v2](/docs/en/integrations/language-clients/java/client-v2.md) directly if performance/direct access is critical.
16
+
`clickhouse-jdbc` implements the standard JDBC interface using the latest [java client](/docs/en/integrations/language-clients/java/client-v2.md).
17
+
We recommend using the latest [java client](/docs/en/integrations/language-clients/java/client-v2.md) directly if performance/direct access is critical.
18
18
19
19
:::note
20
20
If you're looking for a prior version of the JDBC driver docs, please see [here](/docs/en/integrations/language-clients/java/jdbc-v1.md).
@@ -23,13 +23,13 @@ If you're looking for a prior version of the JDBC driver docs, please see [here]
23
23
## Changes from 0.7.x
24
24
In 0.8 we tried to make the driver more strictly follow the JDBC specification, so there are some removed features that may affect you:
| Transaction Support | Early versions of the driver only **simulated** transaction support, which could have unexpected results. |
29
-
| Response Column Renaming |`ResultSet` was mutable - for efficiency sake they're now read-only |
30
-
| Multi-Statement SQL | Multi-statement support was only **simulated**, now it strictly follows 1:1 |
31
-
| Named Parameters | Not part of the JDBC spec |
32
-
| Stream-based `PreparedStatement`| Early version of the driver allowed for non-jdbc usage of `PreparedStatement` - if you desire such options, we recommend looking at [Client-V2](/docs/en/integrations/language-clients/java/client-v2.md) and its [examples](https://github.com/ClickHouse/clickhouse-java/tree/main/examples/client-v2). |
| Transaction Support | Early versions of the driver only **simulated** transaction support, which could have unexpected results. |
29
+
| Response Column Renaming |`ResultSet` was mutable - for efficiency sake they're now read-only |
30
+
| Multi-Statement SQL | Multi-statement support was only **simulated**, now it strictly follows 1:1 |
31
+
| Named Parameters | Not part of the JDBC spec |
32
+
| Stream-based `PreparedStatement`| Early version of the driver allowed for non-jdbc usage of `PreparedStatement` - if you desire such options, we recommend looking at the [Java Client](/docs/en/integrations/language-clients/java/client-v2.md) and its [examples](https://github.com/ClickHouse/clickhouse-java/tree/main/examples/client-v2). |
33
33
34
34
:::note
35
35
`Date` is stored without timezone, while `DateTime` is stored with timezone. This can lead to unexpected results if you're not careful.
Beyond standard JDBC properties, the driver supports the ClickHouse-specific properties offered by the underlying [client](/docs/en/integrations/language-clients/java/client-v2.md).
86
+
Beyond standard JDBC properties, the driver supports the ClickHouse-specific properties offered by the underlying [java client](/docs/en/integrations/language-clients/java/client-v2.md).
87
87
Where possible methods will return an `SQLFeatureNotSupportedException` if the feature is not supported. Other custom properties include:
|`clickhouse.jdbc.v1`|`false`| Use JDBC-V1 instead of JDBC-V2 |
93
+
|`clickhouse.jdbc.v1`|`false`| Use older JDBC implementation instead of new JDBC|
94
94
|`default_query_settings`|`null`| Allows passing of default query settings with query operations |
95
95
96
96
## Supported data types
97
97
98
-
JDBC Driver supports the same data formats as the underlying [client](/docs/en/integrations/language-clients/java/client-v2.md).
98
+
JDBC Driver supports the same data formats as the underlying [java client](/docs/en/integrations/language-clients/java/client-v2.md).
99
99
100
100
### Handling Dates, Times, and Timezones
101
101
`java.sql.Date`, `java.sql.Time`, and `java.sql.Timestamp` can complicate how Timezones are calculated - though they're of course supported,
@@ -184,7 +184,7 @@ try (HikariDataSource ds = new HikariDataSource(poolConfig);
184
184
```
185
185
186
186
## MoreInformation
187
-
For more information, see our [GitHub repository](https://github.com/ClickHouse/clickhouse-java) and [Client-V2 documentation](/docs/en/integrations/language-clients/java/client-v2.md).
187
+
For more information, see our [GitHub repository](https://github.com/ClickHouse/clickhouse-java) and [Java Client documentation](/docs/en/integrations/language-clients/java/client-v2.md).
0 commit comments