MapKeyJoinColumns annotation groups
MapKeyJoinColumn annotations. When the
MapKeyJoinColumns annotation is used, both the
name and the
elements must be specified in each of the grouped
|Modifier and Type||Required Element and Description|
(Required) The map key join columns that are used to map to the entity that is the map key.
public abstract MapKeyJoinColumn value
public abstract ForeignKey foreignKey
foreignKeyelement of any of the
MapKeyJoinColumnelements are specified, the behavior is undefined. If no foreign key annotation element is specified in either location, the persistence provider's default foreign key strategy will apply.
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.