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.
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.