| Sorry my mistake, thank you for hint. I over simplified the testcase. I altered the PR to respect our real situation. We have 3 levels of entity classes. In the class where we are overridding the attribute, we have the following annotation.
@Column(name = "...", insertable = false, updatable = false)
without that in 4.3.11 we got an exception:
Caused by: org.hibernate.MappingException: Repeated column in mapping for entity: hibernate.bug.model.Product2 column: overridenName (should be mapped with insert="false" update="false")
at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:709)
at org.hibernate.mapping.PersistentClass.checkPropertyColumnDuplication(PersistentClass.java:731)
|