org.hibernate.exception.SQLGrammarException错误
2013-03-21 10:59
295 查看
1、打开hibernate映射文件查看是否: <class name="com.ccsu.bean.News" table="news" catalog="mathmodeling">查看catalog是否有配置成数据库名因为它默认的是你本地项目名称。所以上传时候会报错找不到
2、查看<column
name="nid" />列名中是否含有关键字。
2、查看<column
name="nid" />列名中是否含有关键字。
相关文章推荐
- org.hibernate.exception.SQLGrammarException: could not get next sequence value错误原因
- hibernate中创建表错误: org.hibernate.exception.SQLGrammarException: canot insert into ***** 2011-05-20
- org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update错误
- 数据库错误org.hibernate.exception.SQLGrammarException:could not insert
- Hibernate: org.hibernate.exception.SQLGrammarException: could not insert: 错误
- Hibernate: org.hibernate.exception.SQLGrammarException: could not insert: 错误
- org.hibernate.exception.SQLGrammarException: could not inYou have an error in your SQL syntax;完美解决错误
- 错误:org.hibernate.exception.SQLGrammarException: could not execute
- org.hibernate.exception.SQLGrammarException: 关键字 'user' 附近有语法错误。
- org.hibernate.exception.SQLGrammarException: could not inYou have an error in your SQL syntax;完美解决错误
- 用struts2标签 出现黄色的提示org.hibernate.exception.SQLGrammarException: could not execute qu
- org.hibernate.exception.SQLGrammarException: could not extract ResultSet
- org.hibernate.exception.SQLGrammarException: could not execute query
- org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
- org.hibernate.exception.SQLGrammarException
- 关于org.hibernate.exception.SQLGrammarException: could not insert
- org.hibernate.exception.SQLGrammarException:Could not execute JDBC batch update问题的解决
- org.hibernate.exception.SQLGrammarException: Error calling Driver#connect
- nested exception is org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
- org.hibernate.exception.SQLGrammarException: could not insert