jpql and hql test were not exactly equivalent (no change in result)