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
Adds an 'endpoint' connection URL property for the Connection API.
This property can be used instead of adding the endpoint to the host
group part of the Connection URL, which again removes the need to
actually change the connection URL when connecting to for example
the emulator from the JDBC driver. The latter can instead just add
the endpoint to the Properties set that is given to the JDBC driver.
"The number of gRPC channels to use to communicate with Cloud Spanner. The default is 4."),
338
+
ConnectionProperty.createStringProperty(
339
+
ENDPOINT_PROPERTY_NAME,
340
+
"The endpoint that the JDBC driver should connect to. "
341
+
+ "The default is the default Spanner production endpoint when autoConfigEmulator=false, "
342
+
+ "and the default Spanner emulator endpoint (localhost:9010) when autoConfigEmulator=true. "
343
+
+ "This property takes precedence over any host name at the start of the connection URL."),
335
344
ConnectionProperty.createStringProperty(
336
345
CHANNEL_PROVIDER_PROPERTY_NAME,
337
346
"The name of the channel provider class. The name must reference an implementation of ExternalChannelProvider. If this property is not set, the connection will use the default grpc channel provider."),
0 commit comments