首页 > 数据库技术 > 详细

org.hibernate.exception.SQLGrammarException: could not extract ResultSet

时间:2017-12-11 15:35:37      阅读:2398      评论:0      收藏:0      [点我收藏+]

这个故障的原因比较多:

1.如数据库中的字段和类中的字段类型不一致;

2.数据库dialect不够具体

myeclispe自动生成的是  org.hibernate.dialect.SQLServerDialect

如果连接的是SQLSERVER 2008 则可以写成org.hibernate.dialect.SQLServer2008Dialect

 

org.hibernate.exception.SQLGrammarException: could not extract ResultSet

原文:http://www.cnblogs.com/albertfg/p/8023142.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!