This is an automated email from the ASF dual-hosted git repository. djwang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudberry-pxf.git
commit 4c6f5b3126000615242611d7fa6a0f85e3536c33 Author: Lisa Owen <[email protected]> AuthorDate: Mon Sep 12 12:01:45 2022 -0600 docs - clarify new prepared statement property (#856) --- docs/content/jdbc_cfg.html.md.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/content/jdbc_cfg.html.md.erb b/docs/content/jdbc_cfg.html.md.erb index 9b0018bc..a1aaba17 100644 --- a/docs/content/jdbc_cfg.html.md.erb +++ b/docs/content/jdbc_cfg.html.md.erb @@ -111,7 +111,9 @@ Ensure that the JDBC driver for the external SQL database supports any statement ### <a id="prepared"></a>Prepared Statements -The PXF JDBC Connector supports reading using a `PreparedStatement` instead of a `Statement` from an external data source. This may be necessary to enable JDBC driver features with data sources that require a `PreparedStatement`. Enable `PreparedStatement` support using the property: +By default, the PXF JDBC Connector reads from an external data source using a JDBC `Statement`. + +The PXF `jdbc.read.prepared-statement` property governs the use of `PreparedStatements` by the connector. If the JDBC driver that you are using to access the external data source requires the use of a `PreparedStatement`, set the property to `true`: | Property | Description | Default Value | |----------------|--------------------------------------------|---------------| --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
