docs: add note about transparent_reconnection (#14953)

* add note about transparent_reconnection

* Update docs/api-reference/sql-jdbc.md
This commit is contained in:
317brian 2023-09-11 11:58:39 -07:00 committed by GitHub
parent 7871e633c6
commit 3a453f7a3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,8 @@ sidebar_label: SQL JDBC driver
You can make [Druid SQL](../querying/sql.md) queries using the [Avatica JDBC driver](https://calcite.apache.org/avatica/downloads/). You can make [Druid SQL](../querying/sql.md) queries using the [Avatica JDBC driver](https://calcite.apache.org/avatica/downloads/).
We recommend using Avatica JDBC driver version 1.22.0 or later. We recommend using Avatica JDBC driver version 1.23.0 or later. Note that starting with Avatica 1.21.0, you may need to set the [`transparent_reconnection`](https://calcite.apache.org/avatica/docs/client_reference.html#transparent_reconnection) property to `true` if you notice intermittent query failures.
Once you've downloaded the Avatica client jar, add it to your classpath. Once you've downloaded the Avatica client jar, add it to your classpath.
Example connection string: Example connection string: