Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

feat: support endpoint connection URL property#1582

Merged
olavloite merged 1 commit intomainfrom
endpoint-connection-property
Apr 21, 2024
Merged

feat: support endpoint connection URL property#1582
olavloite merged 1 commit intomainfrom
endpoint-connection-property

Conversation

@olavloite
Copy link
Copy Markdown
Collaborator

Added support for an 'endpoint' connection URL property. This property can be added to either the Connection URL or the Properties object that is used to create a Connection, and can be used in combination with the autoConfigEmulator connection property to connect to an emulator instance that uses a randomly assigned port number.

See https://github.com/googleapis/java-spanner-jdbc/blob/main/src/test/java/com/google/cloud/spanner/jdbc/ConcurrentTransactionOnEmulatorTest.java for an example on how to use this property.

Added support for an 'endpoint' connection URL property. This property can
be added to either the Connection URL or the Properties object that is used
to create a Connection, and can be used in combination with the
autoConfigEmulator connection property to connect to an emulator instance
that uses a randomly assigned port number.

See https://github.com/googleapis/java-spanner-jdbc/blob/main/src/test/java/com/google/cloud/spanner/jdbc/ConcurrentTransactionOnEmulatorTest.java
for an example on how to use this property.
@olavloite olavloite requested a review from a team April 21, 2024 07:54
@product-auto-label product-auto-label Bot added size: xs Pull request size is extra small. api: spanner Issues related to the googleapis/java-spanner-jdbc API. labels Apr 21, 2024
@olavloite olavloite merged commit b589c96 into main Apr 21, 2024
@olavloite olavloite deleted the endpoint-connection-property branch April 21, 2024 07:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/java-spanner-jdbc API. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant