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

Resolve handling of ESCAPE clause with LIKE queries on Hibernate #2954

Closed
gregturn opened this issue May 15, 2023 · 0 comments
Closed

Resolve handling of ESCAPE clause with LIKE queries on Hibernate #2954

gregturn opened this issue May 15, 2023 · 0 comments
Assignees
Labels
in: query-parser Everything related to parsing JPQL or SQL in: repository Repositories abstraction theme: hibernate 6 type: regression A regression from a previous release

Comments

@gregturn
Copy link
Contributor

gregturn commented May 15, 2023

ESCAPE clauses with special characters don't seem to work properly with custom queries on Hibernate. This appears to be involving SpEL substitutions and the HQL grammar.

Related: #2939, #2760

@gregturn gregturn added type: regression A regression from a previous release in: repository Repositories abstraction in: query-parser Everything related to parsing JPQL or SQL labels May 15, 2023
@gregturn gregturn added this to the 3.2 M1 (2023.1.0) milestone May 15, 2023
@gregturn gregturn self-assigned this May 15, 2023
@gregturn gregturn changed the title Resolve handling of ESCAPE clause with LIKE queries. Resolve handling of ESCAPE clause with LIKE queries on Hibernate. May 15, 2023
gregturn added a commit that referenced this issue May 15, 2023
The HQL parser has to handle parameters in addition to character values in order to support SpEL.

See #2954.
@gregturn gregturn linked a pull request May 15, 2023 that will close this issue
gregturn added a commit that referenced this issue May 15, 2023
The HQL parser has to handle parameters in addition to character values in order to support SpEL.

See #2954.
gregturn added a commit that referenced this issue May 17, 2023
The HQL parser has to handle parameters in addition to character values in order to support SpEL.

See #2954
Original Pull Request: #2956.
gregturn added a commit that referenced this issue May 30, 2023
The HQL parser has to handle parameters in addition to character values in order to support SpEL.

See #2954
Original Pull Request: #2956.
@mp911de mp911de changed the title Resolve handling of ESCAPE clause with LIKE queries on Hibernate. Resolve handling of ESCAPE clause with LIKE queries on Hibernate May 31, 2023
mp911de pushed a commit that referenced this issue May 31, 2023
The HQL parser has to handle parameters in addition to character values in order to support SpEL.

Closes #2954
Original Pull Request: #2956.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: query-parser Everything related to parsing JPQL or SQL in: repository Repositories abstraction theme: hibernate 6 type: regression A regression from a previous release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants