JPA Annotation Attribute
in jakarta.persistence.OneToOne

Class<?> targetEntity default void.class


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

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

Since:
JPA 1.0