Bug Report
Summary
Recent fix introduced in 2.10.2 9096: Fix SchemaValidator with abstract child class in discriminator map is a regression to the SchemaValidator as having all @Entity classes, including those that are non-instantiable (abstract) is important for some operation.
@beberlei already mentioned it here #8736 (comment)
I also mentioned this in the original issue (#8771 (comment)) regarding this change.
I'll try to prepare a convincing test case.
| Q |
A |
| BC Break |
no |
| Version |
2.10.2 |
Current behaviour
Abstract class marked with @Entity annotation does not have to be part of DiscriminatorMap (according to SchemaValidator)
Expected behavior
Only @MappedSuperclass does not have to be part of the SchemaValidator, missing @Entity is dangerous in some cases