会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
江河与泊
博客园
首页
新随笔
联系
订阅
管理
2020年5月11日
An association from the table user_ product refers to an unmapped class: com. hiber.pojo. User
摘要: 使用Hibernate框架实现多对多实体关系时,发现出现下图错误: 错误内容:没有建立映射。 解决方案:在影射文件hibernate.cfg.xml中添加使用到的类的映射代码: 以User类为例: <mapping resource="com/hiber/pojo/User.hbm.xml"/> h
阅读全文
posted @ 2020-05-11 16:35 江河与泊
阅读(186)
评论(0)
推荐(0)
编辑
公告