Skip to content
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

Always use runtime config in schema management features #23556

Merged
merged 2 commits into from
Feb 10, 2022

Conversation

yrodiere
Copy link
Member

@yrodiere yrodiere commented Feb 9, 2022

E.g. default schema when recreating DB or validating DB.

The problem was simply that SchemaManagementIntegrator was ignoring all runtime settings in this class. Since the default schema recently switched from build-time settings to runtime settings, SchemaManagementIntegrator started ignoring it.

Fixes #23445

E.g. default schema when recreating DB or validating DB.
@yrodiere yrodiere requested a review from gsmet February 9, 2022 17:17
@quarkus-bot quarkus-bot bot added area/hibernate-orm Hibernate ORM area/persistence OBSOLETE, DO NOT USE labels Feb 9, 2022
@yrodiere
Copy link
Member Author

yrodiere commented Feb 9, 2022

I tested manually that this fixes the problem in the reproducer mentioned in #23445 . I did not add a non-regression test because it's a bit hard to recreate the conditions where schema validation fails with H2.

@gsmet gsmet added the triage/waiting-for-ci Ready to merge when CI successfully finishes label Feb 9, 2022
@geoand geoand merged commit d45ebb2 into quarkusio:main Feb 10, 2022
@quarkus-bot quarkus-bot bot added this to the 2.8 - main milestone Feb 10, 2022
@quarkus-bot quarkus-bot bot added kind/bugfix and removed triage/waiting-for-ci Ready to merge when CI successfully finishes labels Feb 10, 2022
@gsmet gsmet modified the milestones: 2.8 - main, 2.7.2.Final Feb 21, 2022
@yrodiere yrodiere deleted the i23445-post-boot-validation branch May 31, 2022 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hibernate post-boot schema-validation fails after upgrade to Quarkus 2.6.3
3 participants