ElementCollection
Date: 2016-06-24

javax.persistence

## Annotation Type ElementCollection

-     @Target(value={METHOD,FIELD})
      @Retention(value=RUNTIME)
      public @interface ElementCollection

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `FetchType` | `fetch`
    `java.lang.Class` | `targetClass`

- - ### Element Detail

    - #### targetClass

          public abstract java.lang.Class targetClass

      Default:
        void.class

    - #### fetch

          public abstract FetchType fetch

      Default:
        javax.persistence.FetchType.LAZY