Fixed in v6, and there is an easy workaround for it in v5, which is to deactivate the `org.hibernate.hql.internal.ast.ErrorTracker` logger.