@Retention(CLASS) @Target({FIELD})
public @interface MapKey
Uses a target attribute as the key of an entity relationship Map.
Methods
public abstract String name() | Selects the target entity attribute used as keys in a relationship Map. |
Method details
name
public abstract String name()Selects the target entity attribute used as keys in a relationship Map.
Returns
Java attribute name