SSH项目中出现了
org.hibernate.exception.SQLGrammarException: could not execute query
错误,仔细检查后发现,是把createQuery()写成了createSQLQuery(),造成语法错误,无法执行SQL语句。
原标题:org.hibernate.exception.SQLGrammarException: could not execute query
关键词:Hibernate