Skip to content

Commit 5f33e67

Browse files
author
Paultagoras
committed
Update jdbc-v2.md
1 parent 4bd4af5 commit 5f33e67

File tree

1 file changed

+13
-13
lines changed
  • docs/en/integrations/language-clients/java

1 file changed

+13
-13
lines changed

docs/en/integrations/language-clients/java/jdbc-v2.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import CodeBlock from '@theme/CodeBlock';
1313

1414
# JDBC Driver
1515

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.
1818

1919
:::note
2020
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]
2323
## Changes from 0.7.x
2424
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:
2525

26-
| Old Feature | Notes |
27-
|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
28-
| 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). |
26+
| Old Feature | Notes |
27+
|----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
28+
| 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). |
3333

3434
:::note
3535
`Date` is stored without timezone, while `DateTime` is stored with timezone. This can lead to unexpected results if you're not careful.
@@ -83,19 +83,19 @@ implementation 'com.clickhouse:clickhouse-jdbc:0.8.0:shaded-all'
8383

8484
**Connection Properties**:
8585

86-
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).
8787
Where possible methods will return an `SQLFeatureNotSupportedException` if the feature is not supported. Other custom properties include:
8888

8989
| Property | Default | Description |
9090
|----------------------------------|---------|----------------------------------------------------------------|
9191
| `disable_frameworks_detection` | `true` | Disable frameworks detection for User-Agent |
9292
| `jdbc_ignore_unsupported_values` | `false` | Suppresses `SQLFeatureNotSupportedException` |
93-
| `clickhouse.jdbc.v1` | `false` | Use JDBC-V1 instead of JDBC-V2 |
93+
| `clickhouse.jdbc.v1` | `false` | Use older JDBC implementation instead of new JDBC |
9494
| `default_query_settings` | `null` | Allows passing of default query settings with query operations |
9595

9696
## Supported data types
9797

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).
9999

100100
### Handling Dates, Times, and Timezones
101101
`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);
184184
```
185185

186186
## More Information
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).
188188

189189

190190
## Troubleshooting

0 commit comments

Comments
 (0)