Skip to content

HHH-14270 GroupedSchemaValidatorImpl / NameSpaceTablesInformation does not find different-case table information in case insensitive environment #10429

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mehmetali2003
Copy link

@mehmetali2003 mehmetali2003 commented Jun 29, 2025

In a case-insensitive database, the names in the entity mapping and the database schema should only be compared after converting them to the same case, either upper- or lowercase. For that, getTableInformation needs to be rewritten to find the name with either upper or lowercase in the map of tables.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-14270

GroupedSchemaValidatorImpl / NameSpaceTablesInformation does not find different-case table information in case insensitive environment
Copy link
Member

@mbellade mbellade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @mehmetali2003, thank you for the contribution, I left a comment on a possibly better approach. I would also ask you to include a test within your PR that asserts that the behavior explained in the linked Jira issue doesn't occur and protects against regressions in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants