Fails with:
Caused by: org.hibernate.MappingException: Duplicate property mapping of _emailAddresses_recipient_idBackref found in org.hibernate.test.annotations.derivedidentities.e1.b.specjmapid.ondemand.OneToManyHHH5836Test$EmailAddress
Fails with:
Caused by: org.hibernate.MappingException: Repeated column in mapping for entity: org.hibernate.test.annotations.derivedidentities.e1.b.specjmapid.ondemand.OneToManyHHH5836Test$EmailAddress column: recipient_id (should be mapped with insert="false" update="false")
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
There are two issues:
Issue 1; The field-mapping has the same name:
Fails with:
Caused by: org.hibernate.MappingException: Duplicate property mapping of _emailAddresses_recipient_idBackref found in org.hibernate.test.annotations.derivedidentities.e1.b.specjmapid.ondemand.OneToManyHHH5836Test$EmailAddress
Issue 2: The field-mapping has different name:
Fails with:
Caused by: org.hibernate.MappingException: Repeated column in mapping for entity: org.hibernate.test.annotations.derivedidentities.e1.b.specjmapid.ondemand.OneToManyHHH5836Test$EmailAddress column: recipient_id (should be mapped with insert="false" update="false")