为了账号安全,请及时绑定邮箱和手机立即绑定

Could not determine type for: com.mils.Address, at table: Students, for columns: [org.hibernate.mapping.Column(address)]

我是用idea2018写的

报错

https://img1.sycdn.imooc.com//5c2774bd00015f6609700039.jpg

这是我的hbm

https://img1.sycdn.imooc.com//5c2773f40001a55d04610088.jpg

Address.class

https://img1.sycdn.imooc.com//5c27744e0001561b03760556.jpg

students.class

https://img1.sycdn.imooc.com//5c2774750001618e02410050.jpg

https://img1.sycdn.imooc.com//5c2774880001559406960152.jpg

‘Basic’attribute...这个错在Blob也出现过,但对Blob没影响。。。

求解

正在回答

1 回答

要么映射文件的hbm2那个值不是create,要么是ADDRESS类的class属性值得全类名错了


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

Could not determine type for: com.mils.Address, at table: Students, for columns: [org.hibernate.mapping.Column(address)]

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信