hibernate注解一对多错误

    xiaoxiao2021-03-25  86

     

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

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

    转载请注明原文地址: https://ju.6miu.com/read-19456.html

    最新回复(0)