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 © 2021 JBoss by Red Hat. All rights reserved.