Struts Problem Report
Struts has detected an unhandled exception:
Messages:
unexpected token: 1 near line 1, column 58 [from MapBig as mapBig where mapBig.user_id = 40286081370d1c0101370d1d5fdf0001 and mapBig.recordTime >Tue Oct 16 22:13:40 CST 2012and and mapBig.recordTime < Wed Oct 17 10:59:59 CST 2012 order by mapBig.orderList asc]
File: org/hibernate/hql/ast/QuerySyntaxException.java
Line number: 31
Stacktraces
org.hibernate.hql.ast.QuerySyntaxException: unexpected token: 1 near line 1, column 58 [from MapBig as mapBig where mapBig.user_id = 40286081370d1c0101370d1d5fdf0001 and mapBig.recordTime >Tue Oct 16 22:13:40 CST 2012and and mapBig.recordTime < Wed Oct 17 10:59:59 CST 2012 order by mapBig.orderList asc]
解决问题:hql语句查询时错误,语法错误,使用错误(包括类型使用错误)。
Struts has detected an unhandled exception:
Messages:
unexpected token: 1 near line 1, column 58 [from MapBig as mapBig where mapBig.user_id = 40286081370d1c0101370d1d5fdf0001 and mapBig.recordTime >Tue Oct 16 22:13:40 CST 2012and and mapBig.recordTime < Wed Oct 17 10:59:59 CST 2012 order by mapBig.orderList asc]
File: org/hibernate/hql/ast/QuerySyntaxException.java
Line number: 31
Stacktraces
org.hibernate.hql.ast.QuerySyntaxException: unexpected token: 1 near line 1, column 58 [from MapBig as mapBig where mapBig.user_id = 40286081370d1c0101370d1d5fdf0001 and mapBig.recordTime >Tue Oct 16 22:13:40 CST 2012and and mapBig.recordTime < Wed Oct 17 10:59:59 CST 2012 order by mapBig.orderList asc]
解决问题:hql语句查询时错误,语法错误,使用错误(包括类型使用错误)。
文章详细介绍了在使用Struts框架时遇到的HQL语句查询错误,包括语法错误和类型使用错误,并提供了有效的解决方法。
2044

被折叠的 条评论
为什么被折叠?



