Fix schema mismatch 87/17287/3
authorRob Daugherty <rd472p@att.com>
Wed, 4 Oct 2017 20:11:11 +0000 (16:11 -0400)
committerRob Daugherty <rd472p@att.com>
Wed, 4 Oct 2017 20:32:12 +0000 (16:32 -0400)
Corrected a foreign key definition in the
VNF_RES_CUSTOM_TO_VF_MODULE_CUSTOM table.

Issue: SO-180
Change-Id: I4dfb51ac615ca1dab19fbf3e0be728b2752e06bd
Signed-off-by: Rob Daugherty <rd472p@att.com>
mso-catalog-db/src/main/resources/VnfResourceCustomization.hbm.xml

index b068e66..72e7209 100644 (file)
@@ -41,8 +41,8 @@
                <property name="created" type="timestamp" generated="insert" update="false" insert="false" column="CREATION_TIMESTAMP" not-null="true"/>\r
                \r
                <set name="vfModuleCustomizations" inverse="true" cascade="all">\r
-            <key column="VNF_RESOURCE_MODEL_UUID" not-null="true" />\r
-            <one-to-many class="VnfResCustomToVfModuleCustom" />\r
-        </set>\r
+                       <key column="VF_MODULE_CUST_MODEL_CUSTOMIZATION_UUID" not-null="true" />\r
+                       <one-to-many class="VnfResCustomToVfModuleCustom" />\r
+               </set>\r
        </class>\r
 </hibernate-mapping>\r