2 <!DOCTYPE hibernate-mapping PUBLIC
3 "-//Hibernate/Hibernate Mapping DTD//EN"
4 "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd" >
9 Created by Middlegen Hibernate plugin
11 http://boss.bekk.no/boss/middlegen/
12 http://hibernate.sourceforge.net/
16 name="mir.core.model.UploadedMedia"
17 table="uploaded_media"
24 <generator class="sequence"/>
28 type="java.lang.String"
35 type="java.lang.String"
41 type="java.lang.String"
47 type="java.lang.String"
54 type="java.lang.String"
60 type="java.lang.String"
61 column="creator_main_url"
66 type="java.lang.String"
67 column="creator_email"
72 type="java.lang.String"
73 column="creator_address"
78 type="java.lang.String"
79 column="creator_phone"
84 type="java.lang.String"
90 type="java.lang.String"
96 type="java.lang.String"
102 type="java.lang.String"
108 type="java.sql.Timestamp"
109 column="publish_date"
114 type="java.lang.String"
115 column="publish_server"
120 type="java.lang.String"
121 column="publish_path"
127 column="is_published"
140 type="java.sql.Timestamp"
141 column="webdb_create"
146 name="webdbLastchange"
147 type="java.sql.Timestamp"
148 column="webdb_lastchange"
152 name="iconIsProduced"
154 column="icon_is_produced"
160 type="java.lang.String"
165 <!-- associations -->
168 class="mir.core.model.MediaType"
169 column="to_media_type"
173 class="mir.core.model.MediaFolder"
174 column="to_media_folder"
178 class="mir.core.model.Feature"
183 class="mir.core.model.MirUser"
184 column="to_publisher"
188 class="mir.core.model.Language"
193 class="mir.core.model.Rights"
196 <set name="content" table="content_x_media" lazy="true">
197 <key column="media_id"/>
198 <many-to-many column="content_id" class="mir.core.model.Content"/>