Home  >  Forum  >  Hibernate
Post New Query

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


joined on
May 23,2013
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)
joined on
May 23,2013
Replied on May 30,2013

It seems that you are doing wrong while mapping. check your mapping id

Write Answer









Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us