Problem with reserved identifiers in query #2791
Labels
for: external-project
For an external project and not something we can fix
for: stackoverflow
A question that's better suited to stackoverflow.com
Hello.
I have queries:
And in last spring boot (3.0.2) when service is starting, throws error:
Caused by: org.hibernate.query.sqm.ParsingException: line 1:42 no viable alternative at input 'SELECTpfromPartpwhereplateral'
and
Caused by: org.hibernate.query.sqm.ParsingException: line 1:20 no viable alternative at input 'SELECTlatfromLateral'
I understand that error is due in the word
lateral
(if the name of the field or table in query). I cannot change this name in entities.Is it possible to escape this field or table in the jpql in @ Queries ?
Some stacktrace:
The text was updated successfully, but these errors were encountered: