|
I actually do not think this is a valid mapping. My guess is that you really mean that AbstractEntity is a @MappedSuperclass.
Either way, Hibernate does not see this as a valid inheritance mapping. @Inheritance is only allowed for the entity that is the root of the hierarchy. In fact that is exactly what the JPA spec says as well. I guess there is some "interpretation room" for what constitutes <quote>the entity class that is the root of the entity class hierarchy</quote>.
So I am inclined to reject this one.
|