olavloite / spanner-jdbc

JDBC Driver for Google Cloud Spanner
MIT License
38 stars 10 forks source link

URL could not be set on DataSource #95

Closed olavloite closed 6 years ago

olavloite commented 6 years ago

Specifying a URL value in an application configuration (for example for Spring Boot) was not actually set on the DataSource object. This is no problem as long as you only want to connect to a real Cloud Spanner instance, but if you want to connect to an emulator, any host name that might have been specified in the URL would not be picked up. You could however still connect to an emulator by specifying a value for the host property.