当前位置: 代码迷 >> Web前端 >> Caused by: org.hibernate.MappingException: Repeated column in 地图ping for entity
  详细解决方案

Caused by: org.hibernate.MappingException: Repeated column in 地图ping for entity

热度:1045   发布时间:2012-07-15 20:11:35.0
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")


一个或多个字段已经映射过,比如定义了字段对应的变量,对变量做了get,set方法,但是该字段又在一对多,多对一的时候映射了其他的实体,就会出这样的问题。
  相关解决方案