SSH项目中出现了
org.hibernate.exception.SQLGrammarException: could not execute query
错误,仔细检查后发现,是把createQuery()写成了createSQLQuery(),造成语法错误,无法执行SQL语句。
org.hibernate.exception.SQLGrammarException: could not execute query
原文:http://www.cnblogs.com/mstk/p/5552628.html