-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
BadJpqlGrammarException no viable alternative at input for reserved keyword: cannot escape #3056
Comments
Possible duplicate of #3062 |
The fix was merged to |
@gregturn , Good Day. Thanks. |
@SergeVolodin thanks for raising awareness - I've created #3496 to tackle the issue. |
Hello,
Since 3.1.1, the following entity / query is not working anymore:
Result: org.springframework.data.jpa.repository.query.BadJpqlGrammarException: Line 1:34 no viable alternative at input 'te.type'; Bad JPQL grammar
Seems related to #2791 but I cannot make it work.
I'm not using Hibernate but eclipselink with h2.
What I've tried (all not working):
The only way to make it work is by renaming BOTH entity field and query param:
Or to not use JPQL (but that's not the goal):
Thanks,
The text was updated successfully, but these errors were encountered: