public List selectAllStudent(String hql) { return getHibernateTemplate().find(hql); } 这个方法返回的是list,有什么方法能返回INT的,同时也是输入hql语句的