Annotation Interface LazyCollection


@Deprecated(since="6.2") @Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface LazyCollection
Deprecated.
Specify the laziness of a collection, either a OneToMany or ManyToMany association, or an ElementCollection. This is an alternative to specifying the JPA FetchType. This annotation is used to enable extra-lazy collection fetching.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated.
    The laziness of the collection.
  • Element Details