You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2022/12/24 02:07:23 UTC

[calcite-avatica] branch main updated: [CALCITE-5438] Document transparent_reconnection property

This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git


The following commit(s) were added to refs/heads/main by this push:
     new 2b6da3b21 [CALCITE-5438] Document transparent_reconnection property
2b6da3b21 is described below

commit 2b6da3b2108ce5e868c0d5621d851fb2dc42809a
Author: Istvan Toth <st...@cloudera.com>
AuthorDate: Fri Dec 16 10:25:25 2022 +0100

    [CALCITE-5438] Document transparent_reconnection property
---
 site/_docs/client_reference.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/site/_docs/client_reference.md b/site/_docs/client_reference.md
index 060612e62..c3835c7a1 100644
--- a/site/_docs/client_reference.md
+++ b/site/_docs/client_reference.md
@@ -182,3 +182,14 @@ on-hover images for the permalink, but oh well.
 : _Default_: `100`.
 
 : _Required_: No.
+
+<strong><a name="transparent_reconnection" href="#transparent_reconnection">transparent_reconnection</a></strong>
+
+: _Description_: The Java client versions between 1.5.0 and 1.20.0 transparently re-created
+  the Connection object on the client side if it expired from the server cache. This behaviour broke
+  JDBC compliance and could cause data loss for transactional write workloads, and has been removed
+  in 1.21.0. Setting this property to `true` restores the 1.20.0 behaviour.
+
+: _Default_: `false`.
+
+: _Required_: No.