summaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main/resources/ServiceToResourceCustomization.hbm.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mso-catalog-db/src/main/resources/ServiceToResourceCustomization.hbm.xml')
-rw-r--r--mso-catalog-db/src/main/resources/ServiceToResourceCustomization.hbm.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/mso-catalog-db/src/main/resources/ServiceToResourceCustomization.hbm.xml b/mso-catalog-db/src/main/resources/ServiceToResourceCustomization.hbm.xml
index dde156c89d..d806b48b45 100644
--- a/mso-catalog-db/src/main/resources/ServiceToResourceCustomization.hbm.xml
+++ b/mso-catalog-db/src/main/resources/ServiceToResourceCustomization.hbm.xml
@@ -30,7 +30,9 @@
<key-property name="modelType" type="string" column="MODEL_TYPE" length="20" />
<key-property name="resourceModelCustomizationUUID" type="string" column="RESOURCE_MODEL_CUSTOMIZATION_UUID" length="200" />
</composite-id>
- <property name="created" type="timestamp" generated="insert" update="false" insert="false" column="CREATION_TIMESTAMP" not-null="true"/>
+ <property name="created" type="timestamp" generated="insert" update="false" insert="false" not-null="true">
+ <column name="CREATION_TIMESTAMP" default="CURRENT_TIMESTAMP"/>
+ </property>
<property name="serviceModelUUID" type="string" column="SERVICE_MODEL_UUID" length="200" not-null="true"/>
</class>