[MSO-8] Update the maven dependency
[so.git] / mso-catalog-db / src / main / resources / NetworkResource.hbm.xml
index b3b657a..931db68 100644 (file)
@@ -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 Resource
                </meta>
-               
+
                <id name="id" type="int" column="id"/>
 
                <properties name="uk_network_resource" unique="true">
                <property name="orchestrationMode" column="ORCHESTRATION_MODE" type="string" length="20"/>
                <property name="description" column="DESCRIPTION" type="string" length="1200"/>
                <property name="templateId" column="TEMPLATE_ID" type="int"/>
+               <property name="neutronNetworkType" type="string"  >
+                       <column name="NEUTRON_NETWORK_TYPE" not-null="false" default="null" length="20" />
+               </property>
                <property name="created" type="timestamp" generated="insert" update="false" insert="false" >
                    <column name="CREATION_TIMESTAMP" not-null="true"/>
                </property>
                <property name="aicVersionMin" type="string" >
-                       <column name="AIC_VERSION_MIN" not-null="false" default="2.5" length="20" />
+                       <column name="AIC_VERSION_MIN" not-null="true" length="20" />
                </property>
                <property name="aicVersionMax" type="string">
-                       <column name="AIC_VERSION_MAX" not-null="false" default="2.5" length="20"/>
+                       <column name="AIC_VERSION_MAX" not-null="false" default="null" length="20"/>
                </property>
-               <property name="neutronNetworkType" column="NEUTRON_NETWORK_TYPE" type="string" length="20"/>
        </class>
-       
+
 </hibernate-mapping>