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.OtherMedia"
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"
151 <!-- associations -->
154 class="mir.core.model.MediaType"
155 column="to_media_type"
159 class="mir.core.model.MediaFolder"
160 column="to_media_folder"
164 class="mir.core.model.Feature"
169 class="mir.core.model.MirUser"
170 column="to_publisher"
174 class="mir.core.model.Language"
179 class="mir.core.model.Rights"
183 name="iconIsProduced"
185 column="icon_is_produced"
191 type="java.lang.String"
202 <set name="content" table="content_x_media" lazy="true">
203 <key column="media_id"/>
204 <many-to-many column="content_id" class="mir.core.model.Content"/>