| If a property of an entity is overridden in an extending class the corresponding attribute of the metamodel of the extending class is not initialized. It stays null. I am overridden the getter to add validation constraints. I extended the MappedSuperclassWithAttributesTest test to show the problem. We migrated from Wildfly 8.2 (Hibernate 4.3.11) to Wildfly 10.1 (Hibernate 5.0.10). With Hibernate 4.3.11 the attribute of the metamodel was not null. PR with test case will follow. |