Skip to content

It's not possible to have multiple connectors with different driver (and url) and the same dialect #1506

@xjrk58

Description

@xjrk58

When connecting using 2 different drivers (e.g. AWS Wrapper and MySQL driver) and 2 different urls (e.g. jdbc:mysql: and jdbc:aws-wrapper:mysql) connect instance picks the first random driver and uses it for all connectors.

This behavior might lead to java.sql.SQLException: No suitable driver found for, because one driver recognizes the URL and the other one not.

The solution is to fix DatabaseDialects static map or support explicit driver class name in the configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions