Skip to content

Use case-insensitive Dialect query pattern matching #10701

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

Conversation

dnovitski
Copy link

The query pattern used in Dialect is case sensitive and it currently only allows lower case queries. This PR adds support to allow uppercase (SELECT .. FROM .. WHERE) by making the query pattern regex case insensitive.


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.


@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Aug 6, 2025

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [9f296ca]

› This message was automatically generated.

@dnovitski dnovitski force-pushed the dialect_case_insensitive_query_pattern branch from 6457fd0 to 9f296ca Compare August 6, 2025 16:16
@dnovitski
Copy link
Author

I tried to create a ticket on JIRA but could not log in; I hope this is OK

@dnovitski dnovitski closed this Aug 6, 2025
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.

1 participant