I don't think you need to consider the @MappedSuperclass metadata. Just go up to all superclasses and look for the annotation. Just make sure not to map these classes as indexed that's all.