Deprecated
Use javax.
This is the default behavior for Map properties marked as @OneToMany, @ManyToMany
or @ElementCollection
javax.persistence.MapKey which use an existing column
This annotation and javax.persistence.MapKey are mutually exclusive
| Modifier and Type | Method and Description |
|---|---|
| public Column[] | |
| public Class | |
| public Type |
| columns | back to summary |
|---|---|
| public Column[] columns() | |
| targetElement | back to summary |
|---|---|
| public Class Represent the key class in a Map Only useful if the collection does not use generics | |
| type | back to summary |
|---|---|
| public Type type() The optional map key type. Guessed if default | |