public abstract @interface

MapKey

implements Annotation
org.hibernate.annotations.MapKey

This @interface is deprecated.
Use javax.persistence.MapKeyColumn This is the default behavior for Map properties marked as @OneToMany, @ManyToMany or @ElementCollection

Class Overview

Define the map key columns as an explicit column holding the map key This is completely different from javax.persistence.MapKey which use an existing column This annotation and javax.persistence.MapKey are mutually exclusive

Summary

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation