Skip to content

Spanner support - invalid properties passed through to Spanner JDBC driver #3461

@surfsoft

Description

@surfsoft

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds codestaleStale issue or pull request which will be closed soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions