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?