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




Asked on May 30, 2013
Hello All,

Need help for below error.

org.hibernate.MappingException: Repeated column in mapping for entity: (should be mapped with insert="false" update="false")
at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:676)
at org.hibernate.mapping.PersistentClass.checkPropertyColumnDuplication(PersistentClass.java:698)
at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:720)
at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:474)
at org.hibernate.mapping.RootClass.validate(RootClass.java:236)
at org.hibernate.cfg.Configuration.validate(Configuration.java:1193)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1378)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954)



Replied on May 30, 2013
It seems that you are doing wrong while mapping. check your mapping id


Write Answer










©2024 concretepage.com | Privacy Policy | Contact Us