Struts Problem Report
Struts has detected an unhandled exception:
Messages:
列名无效
Hibernate operation: could not execute query; bad SQL grammar [ select a.* from knowledge_answers a inner join user_accounts d on a.answer_user=d.id where 1=1 and a.answer_user=15]; nested exception is java.sql.SQLException: 列名无效
第1个回答 2011-08-14
列名无效,那你就要检查一下字段是不是都存在啊.
第2个回答 2011-08-14
hql里要和你的pojo类里的名字对应起来!
第3个回答 2011-08-17
knowledge_answers ,这是你的表名还是类名啊??
第4个回答 2011-08-28
618171861269xception: 列名无效本回答被提问者采纳