You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add descriptions for connection URL properties (#609)
Adds descriptions for the supported connection URL properties. These can be
picked up by the JDBC driver and shown as descriptions for java.sql.DriverPropertyInfo.
"Should the connection automatically retry Aborted errors (true/false)",
196
+
DEFAULT_RETRY_ABORTS_INTERNALLY),
197
+
ConnectionProperty.createStringProperty(
198
+
CREDENTIALS_PROPERTY_NAME,
199
+
"The location of the credentials file to use for this connection. If this property is not set, the connection will use the default Google Cloud credentials for the runtime environment."),
200
+
ConnectionProperty.createStringProperty(
201
+
OAUTH_TOKEN_PROPERTY_NAME,
202
+
"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."),
203
+
ConnectionProperty.createStringProperty(
204
+
NUM_CHANNELS_PROPERTY_NAME,
205
+
"The number of gRPC channels to use to communicate with Cloud Spanner. The default is 4."),
"Use a plain text communication channel (i.e. non-TLS) for communicating with the server (true/false). Set this value to true for communication with the Cloud Spanner emulator.",
209
+
DEFAULT_USE_PLAIN_TEXT),
210
+
ConnectionProperty.createStringProperty(
211
+
USER_AGENT_PROPERTY_NAME,
212
+
"The custom user-agent property name to use when communicating with Cloud Spanner. This property is intended for internal library usage, and should not be set by applications."),
213
+
ConnectionProperty.createStringProperty(
214
+
OPTIMIZER_VERSION_PROPERTY_NAME,
215
+
"Sets the default query optimizer version to use for this connection."))));
0 commit comments