Small changes to HibernateGenericDao