Skip to content

VendorDatabaseIdProvider should not return null databaseId  #179

@jpragma

Description

@jpragma

If there is a problem retrieving database product name, then VendorDatabaseIdProvider.getDatabaseId simply returns null. This causes " org.apache.ibatis.binding.BindingException: Parameter '_databaseId' not found" when calling a mapper that references this databaseId.

It would be probably much better throwing RuntimeException in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions