Annotation Type CollectionOfElements


@Target({METHOD,FIELD}) @Retention(RUNTIME) @Deprecated public @interface CollectionOfElements
Deprecated.
use @ElementCollection
Annotation used to mark a collection as a collection of elements or a collection of embedded objects
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated.
     
    Deprecated.
    Represent the element class in the collection Only useful if the collection does not use generics
  • Element Details

    • targetElement

      Class targetElement
      Deprecated.
      Represent the element class in the collection Only useful if the collection does not use generics
      Default:
      void.class
    • fetch

      Deprecated.
      Default:
      LAZY