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

Caused by: org.hibernate.MappingException: Repeated column in mapping for entity: com.ambow.lmsx.enrollment.entity.EnrStudentInfo column: fclass_code (should be mapped with insert="false" update="false")


重复映射了,这个字段又映射了别的实体
/*@Column(name="FSPECIAL_CODE")
public String getFspecialCode() {
return this.fspecialCode;
}

public void setFspecialCode(String fspecialCode) {
this.fspecialCode = fspecialCode;
}*/

你可能感兴趣的:(Hibernate)