Package org.hibernate.annotations
Annotation Type LazyToOne
-
@Deprecated(since="6.2") @Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface LazyToOne
Deprecated.use JPA annotations to specify theFetchTypeSpecifies the machinery used to handle lazy fetching of the annotatedOneToOneorManyToOneassociation. This is an alternative to specifying only the JPAFetchType.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description LazyToOneOptionvalueDeprecated.ALazyToOneOptionwhich determines how lazy fetching should be handled.
-
-
-
Element Detail
-
value
LazyToOneOption value
Deprecated.ALazyToOneOptionwhich determines how lazy fetching should be handled.- Default:
- org.hibernate.annotations.LazyToOneOption.PROXY
-
-