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>

EXPLICIT

The current annotated entity is retrieved only if explicitly asked.

</dd>

IMPLICIT

The current annotated entity is retrieved if any of its super entity are retrieved. This is the default option.

</dd> </dl> </div> </div>

results matching ""

    No results matching ""