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.Image"
18 proxy="mir.core.model.IImage"
25 <generator class="sequence"/>
29 type="java.lang.String"
36 type="java.lang.String"
42 type="java.lang.String"
48 type="java.lang.String"
55 type="java.lang.String"
61 type="java.lang.String"
62 column="creator_main_url"
67 type="java.lang.String"
68 column="creator_email"
73 type="java.lang.String"
74 column="creator_address"
79 type="java.lang.String"
80 column="creator_phone"
85 type="java.lang.String"
91 type="java.lang.String"
97 type="java.lang.String"
103 type="java.lang.String"
109 type="java.sql.Timestamp"
110 column="publish_date"
115 type="java.lang.String"
116 column="publish_server"
121 type="java.lang.String"
122 column="publish_path"
128 column="is_published"
141 type="java.sql.Timestamp"
142 column="webdb_create"
147 name="webdbLastchange"
148 type="java.sql.Timestamp"
149 column="webdb_lastchange"
154 name="iconIsProduced"
156 column="icon_is_produced"
163 type="java.lang.String"
181 type="java.lang.String"
210 <!-- associations -->
213 class="mir.core.model.MediaType"
214 column="to_media_type"
218 class="mir.core.model.MediaFolder"
219 column="to_media_folder"
223 class="mir.core.model.Feature"
228 class="mir.core.model.MirUser"
229 column="to_publisher"
233 class="mir.core.model.Language"
238 class="mir.core.model.Rights"
241 <set name="content" table="content_x_media" lazy="true">
242 <key column="media_id"/>
243 <many-to-many column="content_id" class="mir.core.model.Content"/>