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
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
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.lang.annotation.Annotation
|