会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Dream
go for it! just do it!
博客园
首页
新随笔
联系
订阅
管理
2019年11月14日
错误解决Caused by: org.hibernate.MappingException: Repeated column in mapping for entity: pers.zhb.domain.Student column: classno (should be mapped with insert="false" update="false")
摘要: 1、在学习hibernate的一对多多对一关系的时候,出现了一下错误: 2、错误原因: 这是因为在配置student.hbm.xml的配置文件的时候出现了将两个属性映射到同一个字段: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate
阅读全文
posted @ 2019-11-14 19:53 怀梦想,致远方
阅读(749)
评论(0)
推荐(1)
公告