hibernate注解一对多错误

来源:互联网 发布:樱井知香喷泉原因 编辑:程序博客网 时间:2024/05/17 23:19

 

Could not determine type for: java.util.Set, at table: shop_lxw_goods, for columns: [org.hibernate.mapping.Column(goods_pic)]


解决方法:注解要么写在字段上,要么写在getXX上,千万千万不能混合使用,否则会报这个错误!

1 0
原创粉丝点击