Annotation Interface LazyToOne


@Deprecated(since="6.2") @Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface LazyToOne
Deprecated.
use JPA annotations to specify the FetchType
Specifies the machinery used to handle lazy fetching of the annotated OneToOne or ManyToOne association. This is an alternative to specifying only the JPA FetchType.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated.
    A LazyToOneOption which determines how lazy fetching should be handled.