Caused by: org.hibernate.MappingException: Repeated column in mapping for entity. column: creator_id
问题:Caused by: org.hibernate.MappingException: Repeated column in mapping for entity. column: creator_id (should be mapped with insert=“false” update=“false”)
原码
修改
方法一:加了一行代码 @Column(insertable=false,updatable=false)
方法二:调整位置