24.2.46. @LazyToOne

The @LazyToOne annotation is used to specify the laziness options, represented by LazyToOneOption, available for a @OneToOne or @ManyToOne association.

</div>

LazyToOneOption defines the following alternatives:

</div>

FALSE

Eagerly load the association. This one is not needed since the JPA FetchType.EAGER offers the same behavior.

</dd>

NO_PROXY

This option will fetch the association lazily while returning real entity object.

</dd>

PROXY

This option will fetch the association lazily while returning a proxy instead.

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

results matching ""

    No results matching ""