diff options
-rwxr-xr-x | hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/mapper/ManyAttributeMapper.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/mapper/ManyAttributeMapper.java b/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/mapper/ManyAttributeMapper.java index e1ca99092..086579c61 100755 --- a/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/mapper/ManyAttributeMapper.java +++ b/hibernate/org.eclipse.emf.teneo.hibernate.mapper/src/org/eclipse/emf/teneo/hibernate/mapper/ManyAttributeMapper.java @@ -69,6 +69,8 @@ public class ManyAttributeMapper extends AbstractAssociationMapper implements Ex .getJoinColumns()); final OneToMany otm = paAttribute.getOneToMany(); + addForeignKeyAttribute(keyElement, paAttribute); + if (jt != null) { addJoinTable(hbAttribute, collElement, keyElement, jt); addKeyColumns(hbAttribute, keyElement, jcs); |