Skip to content

Fix NoViableAltException in delete query #2691

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

Merged
merged 1 commit into from
Feb 28, 2021

Conversation

bahusoid
Copy link
Member

@bahusoid bahusoid commented Feb 28, 2021

Fixes #2688
Regression after #2081

Though the real issue here - NoViableAltException exception is thrown for delete queries with implied joins. So query like "delete from BasketItem where Product.Name = :name" will throw on 5.x too.

@bahusoid bahusoid changed the base branch from master to 5.3.x February 28, 2021 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NoViableAltException in a delete on a many-to-one id
3 participants