javax.persistence

## Annotation Type ElementCollection

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

### Optional Element Summary

Optional Elements
`FetchType` `fetch`
`Class` `targetClass`

### Element Detail

#### targetClass

    public abstract Class targetClass

Default:
  void.class

#### fetch

    public abstract FetchType fetch

Default:
  javax.persistence.FetchType.LAZY