Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lucamolteni opened this issue Mar 27, 2025 · 1 comment
Open
Labels
area/hibernate-orm Hibernate ORM area/housekeeping Issue type for generalized tasks not related to bugs or enhancements area/jdbc Issues related to the JDBC extensions

Comments

@lucamolteni
Copy link
Contributor

lucamolteni commented Mar 27, 2025

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);

@lucamolteni lucamolteni added the area/housekeeping Issue type for generalized tasks not related to bugs or enhancements label Mar 27, 2025
@quarkus-bot quarkus-bot bot added area/hibernate-orm Hibernate ORM area/jdbc Issues related to the JDBC extensions labels Mar 27, 2025
Copy link

quarkus-bot bot commented Mar 27, 2025

/cc @barreiro (jdbc), @gsmet (hibernate-orm)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hibernate-orm Hibernate ORM area/housekeeping Issue type for generalized tasks not related to bugs or enhancements area/jdbc Issues related to the JDBC extensions
Projects
None yet
Development

No branches or pull requests

1 participant