diff --git a/docs/clickhouse-docs/client.mdx b/docs/clickhouse-docs/client.mdx index 67dd0f753..b75ba13fe 100644 --- a/docs/clickhouse-docs/client.mdx +++ b/docs/clickhouse-docs/client.mdx @@ -1381,9 +1381,9 @@ Table below shows what old options are supported in the new client and their new | `ClickHouseHttpOption#AHC_RETRY_ON_FAILURE` | `Client.Builder#retryOnFailures` | | | `ClickHouseClientOption#FAILOVER` | ✗ | | | `ClickHouseClientOption#REPEAT_ON_SESSION_LOCK` | ✗ | | -| `ClickHouseClientOption#SESSION_ID` | ✗ | | -| `ClickHouseClientOption#SESSION_CHECK` | ✗ | | -| `ClickHouseClientOption#SESSION_TIMEOUT` | ✗ | | +| `ClickHouseClientOption#SESSION_ID` | `Client.Builder#setSessionId` | | +| `ClickHouseClientOption#SESSION_CHECK` | `Client.Builder#setSessionCheck` | | +| `ClickHouseClientOption#SESSION_TIMEOUT` | `Client.Builder#setSessionTimeout` | | @@ -1479,7 +1479,7 @@ Table below shows what old options are supported in the new client and their new | V1 Configuration | V2 Builder Method | Comments | |------------------|-------------------|----------| -| `ClickHouseDefaults#AUTO_SESSION` | ✗ | Session support will be reviewed | +| `ClickHouseDefaults#AUTO_SESSION` | ✗ | No automatic session; set one explicitly with `Client.Builder#setSessionId` | | `ClickHouseDefaults#BUFFERING` | ✗ | | | `ClickHouseDefaults#MAX_REQUESTS` | ✗ | | | `ClickHouseDefaults#ROUNDING_MODE` | | | diff --git a/history/latest/3469.md b/history/latest/3469.md new file mode 100644 index 000000000..567154545 --- /dev/null +++ b/history/latest/3469.md @@ -0,0 +1,2 @@ +- **[docs]** Fixed the V1 → V2 migration guide: the `SESSION_ID`, `SESSION_CHECK` and `SESSION_TIMEOUT` rows now name the `Client.Builder` methods that support them, and the `AUTO_SESSION` comment no longer implies client-v2 has no sessions. + (https://github.com/ClickHouse/clickhouse-java/issues/3469)