diff options
Diffstat (limited to 'mso-catalog-db/src/main/resources/NetworkRecipe.hbm.xml')
-rw-r--r-- | mso-catalog-db/src/main/resources/NetworkRecipe.hbm.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mso-catalog-db/src/main/resources/NetworkRecipe.hbm.xml b/mso-catalog-db/src/main/resources/NetworkRecipe.hbm.xml index bdd16d37e6..28589ea639 100644 --- a/mso-catalog-db/src/main/resources/NetworkRecipe.hbm.xml +++ b/mso-catalog-db/src/main/resources/NetworkRecipe.hbm.xml @@ -8,9 +8,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -26,7 +26,7 @@ <meta attribute="class-description"> This class describes a Network recipe </meta> - + <id name="id" type="int" column="id"> <generator class="native"/> </id> @@ -41,21 +41,21 @@ <property name="version" type="string"> <column name="VERSION_STR" not-null="true" length="20"/> </property> - + </properties> - - <property name="serviceType" type="string" length="45"> - <column name="SERVICE_TYPE" not-null="false" length="45"/> - </property> + <property name="description" column="DESCRIPTION" type="string" length="1200"/> <property name="orchestrationUri" type="string"> <column name="ORCHESTRATION_URI" not-null="true" length="256"/> </property> <property name="networkParamXSD" column="NETWORK_PARAM_XSD" type="string" length="2048"/> <property name="recipeTimeout" column="RECIPE_TIMEOUT" type="int"/> + <property name="serviceType" type="string" > + <column name="SERVICE_TYPE" not-null="false" length="45" default="null"/> + </property> <property name="created" type="timestamp" generated="insert" update="false" insert="false" > <column name="CREATION_TIMESTAMP" not-null="true"/> </property> </class> - + </hibernate-mapping> |