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
MapKey
which use an existing column
This annotation and MapKey
are mutually exclusiveModifier and Type | Optional Element and Description |
---|---|
javax.persistence.Column[] |
columns
Deprecated.
|
java.lang.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 javax.persistence.Column[] columns
public abstract java.lang.Class targetElement
public abstract Type type
Copyright © 2013. All Rights Reserved.