错误信息:
Caused by: org.hibernate.hql.ast.QuerySyntaxException: expecting CLOSE, found 'null' near line 1, column 374 [select word from StatSiteSearchWordDay where mpId = :mpId_1 and strDay between :strDay_2lo and :strDay_2hi group by word order by sum(times]
at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:31) ~[hibernate3.jar:3.2.5.ga]
错误原因:orderBy 字段 sum(times 这个缺少 ‘)’