olavloite / spanner-jdbc

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

#116 only set NoCredentials if there are actually no credentials #117

Closed olavloite closed 5 years ago

olavloite commented 5 years ago

The driver would try to connect with NoCredentials if there was no key file specified in the URL. This would cause a connection to fail if an application would rely on the default application credentials set in an environment variable.