org.hibernate.MappingException: Repeated column in mapping for entity: org.jboss.ejb3.test.composite2.Composite column: id2 (should be mapped with insert="false" update="false")

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Bill Burke, 1 year ago
Repeated column in mapping for entity: org.jboss.ejb3.test.composite2.Composite column: id2 (should be mapped with insert="false" update="false")
via Hibernate JIRA by Bill Burke, 1 year ago
Repeated column in mapping for entity: org.jboss.ejb3.test.composite2.Composite column: id2 (should be mapped with insert="false" update="false")
via Stack Overflow by user3133845
, 2 years ago
Repeated column in mapping for entity: com.hybernate.chapter2.Customer column: customer_details (should be mapped with insert="false" update="false")
via Stack Overflow by Gerard Domènech
, 2 years ago
Repeated column in mapping for entity: Filter column: ECF_ACT_ID (should be mapped with insert="false" update="false")**
via Stack Overflow by Chillax
, 2 years ago
Repeated column in mapping for entity: com.skyteam.api.lounges.domain.persistence.entities.LoungeFacility column: LOUNGE_ID (should be mapped with insert="false" update="false")
via Coderanch by Mark Hughes, 11 months ago
Repeated column in mapping for entity: roseindia.tutorial.hibernate.Contact column: Price (should be mapped with insert="false" update="false")
org.hibernate.MappingException: Repeated column in mapping for entity: org.jboss.ejb3.test.composite2.Composite column: id2 (should be mapped with insert="false" update="false")
at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:487)
at org.hibernate.mapping.PersistentClass.checkPropertyColumnDuplication(PersistentClass.java:504)
at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:521)
at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:318)
at org.hibernate.mapping.RootClass.validate(RootClass.java:186)
at org.hibernate.cfg.Configuration.validate(Configuration.java:815)

Users with the same issue

116 times, 6 days ago
Once, 1 week ago
3 times, 1 month ago
6 times, 5 months ago
52 times, 5 months ago
9 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.