24.2.68. @Polymorphism
The @Polymorphism
annotation is used to define the PolymorphismType
Hibernate will apply to entity hierarchies.
</div>
There are two possible PolymorphismType
options:
</div>
The current annotated entity is retrieved only if explicitly asked.
</dd>
The current annotated entity is retrieved if any of its super entity are retrieved. This is the default option.
</dd> </dl> </div> </div>