aboutsummaryrefslogtreecommitdiffstats
path: root/mso-catalog-db
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2017-09-21 01:20:23 -0400
committerRob Daugherty <rd472p@att.com>2017-09-21 01:20:23 -0400
commite78220176c2f98299d09d528a726aa644fe6667f (patch)
tree8f3877490e50cb9878fdd08d3edcf809611de213 /mso-catalog-db
parentc894e1dc433d49acd1b5adc4bcd338b1d148e465 (diff)
Bad foreign key in VNF_RESOURCE_CUSTOMIZATION
A foreign key definition for the VNF_RESOURCE_CUSTOMIZATION table was wrong. I fixed VnfResourceCustomization.hbm.xml Change-Id: Ie52f0b495d100d28bcb053ba46cb8e680a4e95a2 Issue-id: SO-147 Signed-off-by: Rob Daugherty <rd472p@att.com>
Diffstat (limited to 'mso-catalog-db')
-rw-r--r--mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml b/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml
index a3e738bbed..b068e66e1e 100644
--- a/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml
+++ b/mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml
@@ -40,9 +40,9 @@
<property name="created" type="timestamp" generated="insert" update="false" insert="false" column="CREATION_TIMESTAMP" not-null="true"/>
- <set name="serviceResourceCustomizations" inverse="true" cascade="all">
- <key column="SERVICE_MODEL_UUID" not-null="true" />
- <one-to-many class="ServiceToResourceCustomization" />
+ <set name="vfModuleCustomizations" inverse="true" cascade="all">
+ <key column="VNF_RESOURCE_MODEL_UUID" not-null="true" />
+ <one-to-many class="VnfResCustomToVfModuleCustom" />
</set>
</class>
</hibernate-mapping>