Skip to content

Hibernate Extension: Check the error message when multiple JDBC Driver #47036

@lucamolteni

Description

@lucamolteni

Description

See #44473 (comment)

Affected tests:

EntitiesInDefaultPUWithImplicitDatasourceConfigUrlMissingTest
EntitiesInDefaultPUWithExplicitDatasourceMissingTest

After #44473 I found out that to get this error message, we need to have both JDBC drivers, when including only pgsql the error message is different. Investigate why

Implementation ideas

See

        Optional<String> dbKindOptional = DefaultDataSourceDbKindBuildItem.resolve(
                defaultDataSourceBuildTimeConfig.dbKind(),
                defaultDataSourceDbKindBuildItems,
                defaultDataSourceBuildTimeConfig.devservices().enabled()
                        .orElse(!dataSourcesBuildTimeConfig.hasNamedDataSources()),
                curateOutcomeBuildItem);

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/hibernate-ormHibernate ORMarea/housekeepingIssue type for generalized tasks not related to bugs or enhancementsarea/jdbcIssues related to the JDBC extensions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions