<property name="category" column="SERVICE_CATEGORY" type="string" length="20"/>
<property name="serviceType" column="SERVICE_TYPE" type="string" length="20"/>
<property name="serviceRole" column="SERVICE_ROLE" type="string" length="20"/>
- <property name="environmentContext" column="ENVIRONMENT_CONTEXT" type="string" length="200"/>
- <property name="workloadContext" column="WORKLOAD_CONTEXT" type="string" length="200"/>
-
+ <property name="environmentContext" type="string" length="200">
+ <column name="ENVIRONMENT_CONTEXT" default="null"/>
+ </property>
+ <property name="workloadContext" type="string" length="200">
+ <column name="WORKLOAD_CONTEXT" default="null"/>
+ </property>
<map name="recipes" inverse="true" cascade="all">
<key column="SERVICE_MODEL_UUID"/>
<one-to-many class="ServiceToResourceCustomization" />
</set>
</class>
-</hibernate-mapping>
\ No newline at end of file
+</hibernate-mapping>