some corrections and parent-child-relation of topic
[mir.git] / source / mir / core / model / OtherMedia.hbm.xml
index 9ef1dfe..74f5f2b 100755 (executable)
         type="java.lang.String"
         column="title"
         not-null="true"
-        length="80"
+        length="255"
     />
     <property
         name="subtitle"
         type="java.lang.String"
         column="subtitle"
-        length="30"
+        length="128"
     />
     <property
         name="edittitle"
         type="java.lang.String"
         column="edittitle"
-        length="30"
+        length="128"
     />
     <property
         name="date"
         name="description"
         type="java.lang.String"
         column="description"
-        length="-1"
-    />
-    <property
-        name="keywords"
-        type="java.lang.String"
-        column="keywords"
-        length="-1"
+        sql-type="text" 
     />
     <property
         name="comment"
         type="java.lang.String"
         column="comment"
-        length="-1"
+        sql-type="text" 
     />
     <property
         name="source"
         column="to_media_folder"
     />
     <many-to-one
-        name="feature"
-        class="mir.core.model.Feature"
-        column="to_feature"
-    />
-    <many-to-one
         name="publisher"
         class="mir.core.model.MirUser"
         column="to_publisher"