首页 > Web开发 > 详细

hibernate错误整理

时间:2016-01-18 22:29:07      阅读:242      评论:0      收藏:0      [点我收藏+]

org.hibernate.MappingException: An association from the table t_student refers to an unmapped class: entity.Class

org.hibernate.InvalidMappingException: Could not parse mapping document from resource entity/Class.hbm.xml//配置缺省参数设置

Caused by: org.xml.sax.SAXParseException; lineNumber: 15; columnNumber: 10; 元素类型为 "list" 的内容必须匹配 "(meta*,subselect?,cache?,synchronize*,comment?,key,(index|list-index),(element|one-to-many|many-to-many|composite-element|many-to-any),loader?,sql-insert?,sql-update?,sql-delete?,sql-delete-all?,filter*)"。

org.hibernate.exception.SQLGrammarException: could not insert: [entity.Class]//表不存在

hibernate错误整理

原文:http://www.cnblogs.com/xiaochao321/p/5140472.html

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