标签: sql hibernate compiler-errors integer
String qry = select max(total) as max_marks from student; SQLQuery sq = ses.createSQLQuery(qry); sq.addScalar("max_marks",Hibernate.Integer);
编译错误:
Hibernate.Integer ---> Cannot be resolved
请说明我必须做哪些修改?