From 339b8e72340f846f2153c613409d8bac06ee4a13 Mon Sep 17 00:00:00 2001 From: Cameron Moberg Date: Thu, 5 Dec 2024 14:37:53 -0800 Subject: [PATCH] Update README to include all supported ConnectionProperties Without this, users may believe that the supported set of connection properties is exhaustive in the README. In addition there could be lead-time between new features being added and the JDBC itself. It should be noted that the version linked is `main` branch rather than the one actively used by the JDBC driver. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4ad9bf804..8cb792fb7 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,8 @@ these can also be supplied in a Properties instance that is passed to the - oauthToken (string): A valid pre-existing OAuth token to use for authentication for this connection. Setting this property will take precedence over any value set for a credentials file. - lenient (boolean): Enable this to force the JDBC driver to ignore unknown properties in the connection URL. Some applications automatically add additional properties to the URL that are not recognized by the JDBC driver. Normally, the JDBC driver will reject this, unless `lenient` mode is enabled. +For a full list of supported connection properties see https://github.com/googleapis/java-spanner/blob/main/google-cloud-spanner/src/main/java/com/google/cloud/spanner/connection/ConnectionProperties.java. + ### Jar with Dependencies A single jar with all dependencies can be downloaded from https://repo1.maven.org/maven2/com/google/cloud/google-cloud-spanner-jdbc/latest or be built with the command `mvn package` (select the jar that is named `google-cloud-spanner-jdbc--single-jar-with-dependencies.jar`).