Yes, If we log the incorrect hql statement, we can find out bugs quickly.