|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface MapKey
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
Optional Element Summary | |
---|---|
javax.persistence.Column[] |
columns
|
public abstract javax.persistence.Column[] columns
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |