Tag: MappingException预览模式: 普通 | 列表

到该错误:
1.检查你的hibernate.cfg.xml文件中是否添加了
<mapping resource="order/vo/KeysWordsVO.hbm.xml"/>

2.检查你的hibernate.cfg.xml文件中的相关联的两个<mapping resource=""/>的顺序,可能有其中一个需要引用另一个,但是另一个却还没有编译

3.相应的 hbm.xml中的类名没有写对,注意跟实际类名包名的符合

查看更多...

Tags: MappingException

分类:Hibernate | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 1847