HHH-8935 MappedSuperclass can extend an Entity