Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiOTFiYThjYjk1...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16022?atlOrigin=eyJpIjoiOTFiYT...
) HHH-16022 (
https://hibernate.atlassian.net/browse/HHH-16022?atlOrigin=eyJpIjoiOTFiYT...
) bad error reporting of parsing failures (
https://hibernate.atlassian.net/browse/HHH-16022?atlOrigin=eyJpIjoiOTFiYT...
)
Issue Type: Bug Assignee: Unassigned Components: hibernate-core Created: 11/Jan/2023 03:01
AM Priority: Major Reporter: Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
This is the sort of exception you get when the parser goes off the rails:
Caused by: org.hibernate.query.sqm.ParsingException: line 1:20 no viable alternative at
input 'select1where1inlist'
at
app//org.hibernate.query.hql.internal.StandardHqlTranslator$1.syntaxError(StandardHqlTranslator.java:46)
That’s really ugly:
* what happened to my whitespace?
* which was the actual token which the parser choked on?
(
https://hibernate.atlassian.net/browse/HHH-16022#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16022#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#100213- sha1:b01baad )