Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.hibernate.annotations
Annotation Type MapKeyManyToMany

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

Define the map key columns as an explicit column holding the map key This is completly different from `MapKey` which use an existing column This annotation and `MapKey` are mutually exclusive

Author:
  Emmanuel Bernard

Optional Element Summary
`javax.persistence.JoinColumn[]` | `joinColumns`
`Class` | `targetEntity` Represent the key class in a Map Only useful if the collection does not use generics

### joinColumns

    public abstract javax.persistence.JoinColumn[] joinColumns

  Default:
    {}

### targetEntity

    public abstract Class targetEntity

  Represent the key class in a Map Only useful if the collection does not use generics

  Default:
    void.class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT