Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-16738 (
https://hibernate.atlassian.net/browse/HHH-16738?atlOrigin=eyJpIjoiOTdiMD...
)
Re: BadJpqlGrammarException when using column names coinciding with functions in
projection (
https://hibernate.atlassian.net/browse/HHH-16738?atlOrigin=eyJpIjoiOTdiMD...
)
I read the issue description and thought “this doesn’t make any sense”. Function names
like sign and exp aren’t keywords in HQL, and so there’s no reason that the parser would
choke on them. The parser has no idea they’re functions.
So that was very confusing.
So of course I tested it quickly against main and could not reproduce. Phew , I’m not
going crazy.
So I come back and look at your stack trace. And guess what: there’s no Hibernate code in
that stack trace, only this:
org.springframework.data.jpa.repository.query.HqlParser
What the actual fuck? Are you serious? Spring is so bloated it now has its own buggy and
broken parser for HQL??
Please tell me that ain’t true!
(
https://hibernate.atlassian.net/browse/HHH-16738#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16738#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#100225- sha1:40c4da4 )