Jakarta Persistence (JPA) Method

Class<?> targetEntity


(Optional) The entity class that is the target of the association.

Defaults to the type of the field or property that stores the association.

Default:
void/class
Since:
Jakarta Persistence (JPA) 1.0