Mike Becker (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=6321cb8...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiOWI4MTc4OGU3...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16454?atlOrigin=eyJpIjoiOWI4MT...
) HHH-16454 (
https://hibernate.atlassian.net/browse/HHH-16454?atlOrigin=eyJpIjoiOWI4MT...
) Regression - ILIKE Keyword is considered a column name when deducing alias injection
points (
https://hibernate.atlassian.net/browse/HHH-16454?atlOrigin=eyJpIjoiOWI4MT...
)
Issue Type: Bug Affects Versions: 6.2.0 Assignee: Unassigned Components: hibernate-core,
regression Created: 11/Apr/2023 06:07 AM Priority: Major Reporter: Mike Becker (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=6321cb8...
)
In Hibernate 6.1.7 a condition query for @Filter}}can contain the postgresql keyword
{{ilike (case-insensitive like) without any problems.
In Hibernate 6.2.0 this keyword is now prefixed with a column alias when automatic
deduction of column alias injection points is true (which is the default).
The resulting query is obviously invalid and throws a SQLGrammarException at runtime.
(
https://hibernate.atlassian.net/browse/HHH-16454#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16454#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100221- sha1:9ff53d8 )