javax.persistence
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface MapKey
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
name
The name of the persistent field or property of the associated entity that is used as the map key.
|
public abstract java.lang.String name