|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
MapKeyJoinColumn
MapKeyJoinColumns
This is the default behavior for Map properties marked as @OneToMany, @ManyToMany
or @ElementCollection
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) @Deprecated public @interface MapKeyManyToMany
Define the map key columns as an explicit column holding the map key
This is completely different from MapKey
which use an existing column
This annotation and MapKey
are mutually exclusive
Optional Element Summary | |
---|---|
JoinColumn[] |
joinColumns
Deprecated. |
Class |
targetEntity
Deprecated. Represent the key class in a Map Only useful if the collection does not use generics |
public abstract JoinColumn[] joinColumns
public abstract Class targetEntity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |