Annotation Type 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
      LazyToOneOption value
      Deprecated.
      A LazyToOneOption which determines how lazy fetching should be handled.
    • Element Detail

      • value

        LazyToOneOption value
        Deprecated.
        A LazyToOneOption which determines how lazy fetching should be handled.
        Default:
        org.hibernate.annotations.LazyToOneOption.PROXY