为啥我出现这个错误了:org.hibernate.NonUniqueResultException: query did not return a unique result: 2 求大佬指教!
查询语句这样写:hql="select max(stud.sid) from Students stud";
查询语句出错了,,或者学号不是主键,