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.Audio"
24 <generator class="sequence">
25 <param name="sequence">media_id_seq</param>
30 type="java.lang.String"
37 type="java.lang.String"
43 type="java.lang.String"
49 type="java.lang.String"
56 type="java.lang.String"
62 type="java.lang.String"
63 column="creator_main_url"
68 type="java.lang.String"
69 column="creator_email"
74 type="java.lang.String"
75 column="creator_address"
80 type="java.lang.String"
81 column="creator_phone"
86 type="java.lang.String"
92 type="java.lang.String"
98 type="java.lang.String"
104 type="java.sql.Timestamp"
105 column="publish_date"
110 type="java.lang.String"
111 column="publish_server"
116 type="java.lang.String"
117 column="publish_path"
123 column="is_published"
136 type="java.sql.Timestamp"
137 column="webdb_create"
142 name="webdbLastchange"
143 type="java.sql.Timestamp"
144 column="webdb_lastchange"
148 name="iconIsProduced"
150 column="icon_is_produced"
156 type="java.lang.String"
166 <!-- associations -->
169 class="mir.core.model.MediaType"
170 column="to_media_type"
174 class="mir.core.model.MediaFolder"
175 column="to_media_folder"
179 class="mir.core.model.MirUser"
180 column="to_publisher"
184 class="mir.core.model.Language"
189 class="mir.core.model.Rights"
192 <set name="content" table="content_x_media" lazy="true">
193 <key column="media_id"/>
194 <many-to-many column="content_id" class="mir.core.model.Content"/>