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.lang.String"
110 type="java.sql.Timestamp"
111 column="publish_date"
116 type="java.lang.String"
117 column="publish_server"
122 type="java.lang.String"
123 column="publish_path"
129 column="is_published"
142 type="java.sql.Timestamp"
143 column="webdb_create"
148 name="webdbLastchange"
149 type="java.sql.Timestamp"
150 column="webdb_lastchange"
154 name="iconIsProduced"
156 column="icon_is_produced"
162 type="java.lang.String"
172 <!-- associations -->
175 class="mir.core.model.MediaType"
176 column="to_media_type"
180 class="mir.core.model.MediaFolder"
181 column="to_media_folder"
185 class="mir.core.model.Feature"
190 class="mir.core.model.MirUser"
191 column="to_publisher"
195 class="mir.core.model.Language"
200 class="mir.core.model.Rights"
203 <set name="content" table="content_x_media" lazy="true">
204 <key column="media_id"/>
205 <many-to-many column="content_id" class="mir.core.model.Content"/>