eclipse报错:unexpected token: 8
SQL:from Documents p where 1=1 and p.typeid=16 and p.unitCode='08' order by p.fbrq desc
[ERROR] 2011-09-19 14:51:20 org.hibernate.hql.PARSER - line 1:93: unexpected token: 8
[ERROR] 2011-09-19 14:51:20 net.top.framework.dao.hibernate.BaseDAOImpl - Create query from session error:org.hibernate.hql.ast.QuerySyntaxException: unexpected token: 8 near line 1, column 93 [from net.top.honest.documents.domain.Documents p where 1=1 and p.typeid=16 and p.unitCode=08]
[ERROR] 2011-09-19 14:51:20 net.top.framework.dao.hibernate.BaseDAOImpl - Find objects from database error:java.lang.NullPointerException
[ERROR] 2011-09-19 14:51:20 net.top.framework.exception.DAOException -
sql语句如上输出,unitCode的值为01-07时没有问题,unitCode的值为08或09时就报上面的错误,不知道为什么,请高手帮忙!