javax.persistence

## Annotation Type OneToMany

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

### Optional Element Summary

Optional Elements
`CascadeType[]` `cascade`
`FetchType` `fetch`
`String` `mappedBy`
`boolean` `orphanRemoval`
`Class` `targetEntity`

### Element Detail

#### targetEntity

    public abstract Class targetEntity

Default:
  void.class

#### cascade

    public abstract CascadeType[] cascade

Default:
  {}

#### fetch

    public abstract FetchType fetch

Default:
  javax.persistence.FetchType.LAZY

#### mappedBy

    public abstract String mappedBy

Default:
  ""

#### orphanRemoval

    public abstract boolean orphanRemoval

Default:
  false