MapKeyJoinColumn
MapKeyJoinColumns
This is the default behavior for Map properties marked as @OneToMany, @ManyToMany
or @ElementCollection@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) @Deprecated public @interface MapKeyManyToMany
MapKey
which use an existing column
This annotation and MapKey
are mutually exclusiveModifier and Type | Optional Element and Description |
---|---|
javax.persistence.JoinColumn[] |
joinColumns
Deprecated.
|
Class |
targetEntity
Deprecated.
Represent the key class in a Map
Only useful if the collection does not use generics
|
public abstract javax.persistence.JoinColumn[] joinColumns
public abstract Class targetEntity
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved