`

should be mapped with insert="false"

 
阅读更多

org.hibernate.MappingException: Repeated column in mapping for entity:

com.xxx.entity.RoleAuthority column: ROLE_ID (should be mapped with insert="false"

update="false")

一个类中两个属性映射的列名一样产生冲突@JoinColumn(name = "ROLE_ID ")

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics