Petar Tahchiev, I understand that no exception was thrown in 5.2. Did an @AttributeOverride actually work properly when mapped on an entity class in a TABLE_PER_CLASS hierarchy? It would help a lot if you could add a test case to your PR that shows that it is actually working (overriding the column name) with your fix. Andrei Ivanov, According to the spec, @Inheritance(...) "is specified on the entity class that is the root of the entity class hierarchy". The spec also says a mapped superclass "is not itself an entity". IOW, a mapped superclass should not be annotated with @Inheritance. SINGLE_TABLE is the default for inheritance hierarchies, so simply removing @Inheritance(strategy = InheritanceType.SINGLE_TABLE) from AbstractLogEventWrapperEntity should fix that. |