I'm experimenting with an existing DropWizard application to see how easy it might be to configure it to use Google's Spanner database. I’m running against the Spanner emulator and when I start the application I get an error thrown by the Spanner JDBC driver as follows:
com.google.cloud.spanner.jdbc.JdbcSqlExceptionFactory$JdbcSqlExceptionImpl: INVALID_ARGUMENT: Invalid properties found in connection URI: password, hibernate.dialect, user
The Spanner JDBC driver doesn’t like the fact that these properties are being passed down to it and throws an exception. I've checked that the version of Hibernate used by DropWizard 2.0.6 is compatible with the Spanner JDBC library.
Rather than trying to detail the configuration of my application I thought I’d start by asking if Spanner is explicitly supported by DropWizard, and if there are any known issues regardless of if there is explicit support or not.
I'm experimenting with an existing DropWizard application to see how easy it might be to configure it to use Google's Spanner database. I’m running against the Spanner emulator and when I start the application I get an error thrown by the Spanner JDBC driver as follows:
The Spanner JDBC driver doesn’t like the fact that these properties are being passed down to it and throws an exception. I've checked that the version of Hibernate used by DropWizard 2.0.6 is compatible with the Spanner JDBC library.
Rather than trying to detail the configuration of my application I thought I’d start by asking if Spanner is explicitly supported by DropWizard, and if there are any known issues regardless of if there is explicit support or not.