for HibernateDAO query moved to namedQuery