Top Description Methods
org.hibernate.annotations

public @Interface LazyToOne

extends Annotation
Annotations
@Deprecated
since:6.2
@Target:METHOD, FIELD
@Retention:RUNTIME
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target

Deprecated

since 6.2.

use JPA annotations to specify the jakarta.persistence.FetchType

Specifies the machinery used to handle lazy fetching of the annotated jakarta.persistence.OneToOne or jakarta.persistence.ManyToOne association. This is an alternative to specifying only the JPA jakarta.persistence.FetchType.
Author
Emmanuel Bernard

Method Summary

Modifier and TypeMethod and Description
public LazyToOneOption
value()

Deprecated as a consequence of LazyToOneOption being deprecated.
A LazyToOneOption which determines how lazy fetching should be handled.
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public LazyToOneOption value()

Deprecated

as a consequence of LazyToOneOption being deprecated. See corresponding docs for further information.

A LazyToOneOption which determines how lazy fetching should be handled.