问题:Repeated column in mapping for entity: XXXpojo column: XXX列 (should be mapped with insert="false" update="false")
原因:在进行多对一等映射时,某列可以会被重复使用。
解决: 在普通的映射中加上 insertable = false, updatable = false
例:
@Column(name = "XX", insertable = false, updatable = false)