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.Content"
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"
160 type="java.lang.String"
161 column="content_data"
164 <!-- associations -->
167 class="mir.core.model.ArticleType"
168 column="to_article_type"
172 class="mir.core.model.Feature"
177 class="mir.core.model.MirUser"
178 column="to_publisher"
182 class="mir.core.model.Language"
187 class="mir.core.model.Rights"
199 class="mir.core.model.Content"
204 class="mir.core.model.Content"
207 <set name="topics" table="content_x_topic">
208 <key column="content_id"/>
209 <many-to-many column="topic_id" class="mir.core.model.Topic"/>
211 <set name="attachedMedias" table="content_x_media" lazy="true">
212 <key column="content_id"/>
213 <many-to-many column="media_id" class="mir.core.model.Media"/>