aboutsummaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main/resources/ServiceRecipe.hbm.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mso-catalog-db/src/main/resources/ServiceRecipe.hbm.xml')
-rw-r--r--mso-catalog-db/src/main/resources/ServiceRecipe.hbm.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/mso-catalog-db/src/main/resources/ServiceRecipe.hbm.xml b/mso-catalog-db/src/main/resources/ServiceRecipe.hbm.xml
index 0003c37ad2..75be1c71b0 100644
--- a/mso-catalog-db/src/main/resources/ServiceRecipe.hbm.xml
+++ b/mso-catalog-db/src/main/resources/ServiceRecipe.hbm.xml
@@ -40,7 +40,9 @@
</properties>
<property name="orchestrationUri" type="string" column="ORCHESTRATION_URI" not-null="true" length="256"/>
- <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="action" column="ACTION" type="string" length="20" insert="false" update="false" />
<property name="version" column="VERSION_STR" type="string" length="20"/>