码迷,mamicode.com
首页 > 数据库 > 详细

org.hibernate.exception.SQLGrammarException: could not execute query

时间:2016-06-02 13:36:04      阅读:209      评论:0      收藏:0      [点我收藏+]

标签:

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!