Brett Meyer
commented
on an issue
Re: Antlr exception while parsing correct HQL
Petr, this was corrected in
HHH-8578
and will be available in 4.2.7.
Add Comment
Hibernate ORM
/
HHH-8614
Antlr exception while parsing correct HQL
This code: ...createQuery("delete from MyEntity").executeUpdate();
produces antlr.NoViableAltException in log (see attachment) however the functionality works.
It works correctly when adding a "where" clause:
...createQuery("delete from MyEntity where 1 = 1").executeUpdate();
This message was sent by Atlassian JIRA
(v6.1-OD-09-WN#6144-
sha1:62dfc48
)