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.Media"
18 proxy="mir.core.model.IMedia"
26 <generator class="sequence">
27 <param name="sequence">media_id_seq</param>
33 type="java.lang.String"
40 type="java.lang.String"
46 type="java.lang.String"
52 type="java.lang.String"
59 type="java.lang.String"
65 type="java.lang.String"
66 column="creator_main_url"
71 type="java.lang.String"
72 column="creator_email"
77 type="java.lang.String"
78 column="creator_address"
83 type="java.lang.String"
84 column="creator_phone"
89 type="java.lang.String"
95 type="java.lang.String"
101 type="java.lang.String"
107 type="java.sql.Timestamp"
108 column="publish_date"
113 type="java.lang.String"
114 column="publish_server"
119 type="java.lang.String"
120 column="publish_path"
126 column="is_published"
139 type="java.sql.Timestamp"
140 column="webdb_create"
145 name="webdbLastchange"
146 type="java.sql.Timestamp"
147 column="webdb_lastchange"
151 <!-- associations -->
155 class="mir.core.model.MirUser"
156 column="to_publisher"
161 class="mir.core.model.Language"
167 class="mir.core.model.Rights"
171 <set name="content" table="content_x_media" lazy="true">
172 <key column="media_id"/>
173 <many-to-many column="content_id" class="mir.core.model.Content"/>