feat: Auto-configure emulator when connecting with JDBC #380
Labels
api: spanner
Issues related to the googleapis/java-spanner-jdbc API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Connecting to the Cloud Spanner emulator with JDBC can be a little cumbersome, as
usePlainText
to true, OR set theSPANNER_EMULATOR_HOST
environment variable.The first point makes it very difficult to execute tests against the emulator when using only JDBC, as the instance and database needs to be created by an external program/script before a JDBC connection can be created. It also makes it very difficult to connect to the emulator from generic tools like DBeaver.
Adding a connection option to the JDBC driver to automatically configure and connect to the emulator would make testing a lot easier. When the option is set, the JDBC driver would:
The text was updated successfully, but these errors were encountered: