严重: Servlet.service() for servlet jsp threw exception,大神求解啊

日期:2011-05-20 15:35:12 人气:2

严重: Servlet.service() for servlet jsp threw exception,大神求解啊

HQL拼写有问题 org.hibernate.hql.ast.QuerySyntaxException: expecting IDENT, found '2' near line 1, column 50 [from com.online.doc.domain.DocInfo where STATUS=:2] HQL映射出现了错误 STATUS=:2 这里的问题,2你再检查一下,如果是数据,不用带冒号(:),如果是变量,设置一个新的名称,例如STATUS=:status 然后在Q
    A+
热门评论