javax.persistence
Annotation Type MapKeyEnumerated


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface MapKeyEnumerated

The @MapKey annotation.

Since:
JPA 2.0

Optional Element Summary
 EnumType value
           
 

value

public abstract EnumType value
Default:
javax.persistence.EnumType.ORDINAL