|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
MapKeyColumn
This is the default behavior for Map properties marked as @OneToMany, @ManyToMany
or @ElementCollection
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
@Deprecated
public @interface MapKey
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 | |
|---|---|
Column[] |
columns
Deprecated. |
Class |
targetElement
Deprecated. Represent the key class in a Map Only useful if the collection does not use generics |
Type |
type
Deprecated. The optional map key type. |
public abstract Column[] columns
public abstract Class targetElement
public abstract Type type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||