Index: lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardAttachment.hbm.xml
===================================================================
diff -u -r6e5832d17263bc6c6f7683733e91e22f97eab569 -rdce659b59eb25956ec196310c7aa8eeaba6a6beb
--- lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardAttachment.hbm.xml (.../NoticeboardAttachment.hbm.xml) (revision 6e5832d17263bc6c6f7683733e91e22f97eab569)
+++ lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardAttachment.hbm.xml (.../NoticeboardAttachment.hbm.xml) (revision dce659b59eb25956ec196310c7aa8eeaba6a6beb)
@@ -1,116 +1,88 @@
-
+
+
-
-
-
-
-
-
- @hibernate.class
+
-
-
-
- @hibernate.id
- generator-class="native"
- type="java.lang.Long"
+
+
+
+
+
+
-
-
-
-
-
-
-
- @hibernate.property
+
-
-
-
- @hibernate.property
- column="uuid"
- not-null="true"
- length="20"
-
-
-
-
- @hibernate.property
- column="version_id"
- length="20"
-
-
-
-
- @hibernate.property
+ />
+
+
-
+ />
-
-
-
-
-
- @hibernate.many-to-one
+
+
+
+
+
-
-
+ />
-
+
+
+
+
+
+
Index: lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml
===================================================================
diff -u -r6e5832d17263bc6c6f7683733e91e22f97eab569 -rdce659b59eb25956ec196310c7aa8eeaba6a6beb
--- lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml (.../NoticeboardContent.hbm.xml) (revision 6e5832d17263bc6c6f7683733e91e22f97eab569)
+++ lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardContent.hbm.xml (.../NoticeboardContent.hbm.xml) (revision dce659b59eb25956ec196310c7aa8eeaba6a6beb)
@@ -1,236 +1,175 @@
-
+
+
-
-
-
-
-
-
- @hibernate.class
+
-
-
-
- @hibernate.id
- generator-class="native"
- type="java.lang.Long"
+
+
+
+
+
+
-
-
-
-
-
-
-
- @hibernate.property
- column="nb_content_id"
- length="20"
- not-null="true"
-
-
-
-
- @hibernate.property
- column="title"
- length="255"
-
-
-
-
- @hibernate.property
+
-
-
-
- @hibernate.property
- column="online_instructions"
- length="65535"
-
-
-
-
- @hibernate.property
- column="offline_instructions"
- length="65535"
-
-
-
-
- @hibernate.property
- column="define_later"
- length="1"
-
-
-
-
- @hibernate.property
- column="force_offline"
- length="1"
-
-
-
-
-
- @hibernate.property
- column="contentInUse"
- length="1"
-
-
-
-
-
- @hibernate.property
+ />
+
+
-
-
-
- @hibernate.property
+ />
+
+
-
-
-
- @hibernate.property
+ />
+
+
-
+ />
-
-
-
-
-
- @hibernate.set
+
+
+
+
+
+
+
+
+
- @hibernate.collection-key
- column="nb_content_uid"
+
+
- @hibernate.collection-one-to-many
- class="org.lamsfoundation.lams.tool.noticeboard.NoticeboardSession"
-
-
-
-
-
-
-
-
-
-
- @hibernate.set
+
+
+
+
+
- @hibernate.collection-key
- column="nb_content_uid"
+
+
- @hibernate.collection-one-to-many
- class="org.lamsfoundation.lams.tool.noticeboard.NoticeboardAttachment"
-
-
-
-
-
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
Index: lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml
===================================================================
diff -u -r6e5832d17263bc6c6f7683733e91e22f97eab569 -rdce659b59eb25956ec196310c7aa8eeaba6a6beb
--- lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml (.../NoticeboardSession.hbm.xml) (revision 6e5832d17263bc6c6f7683733e91e22f97eab569)
+++ lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardSession.hbm.xml (.../NoticeboardSession.hbm.xml) (revision dce659b59eb25956ec196310c7aa8eeaba6a6beb)
@@ -1,142 +1,116 @@
-
+
+
-
-
-
-
-
-
- @hibernate.class
+
-
-
-
- @hibernate.id
- generator-class="native"
- type="java.lang.Long"
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
- @hibernate.property
+
-
-
-
- @hibernate.property
- column="session_start_date"
- length="19"
-
-
-
-
- @hibernate.property
+ />
+
+
+
+
-
-
-
- @hibernate.property
+ />
+
+
+
+
-
+ />
-
-
-
-
-
- @hibernate.many-to-one
- not-null="true"
- @hibernate.column name="nb_content_uid"
-
-
-
-
-
-
-
- @hibernate.set
+
- @hibernate.collection-key
- column="nb_session_uid"
+
+
- @hibernate.collection-one-to-many
- class="org.lamsfoundation.lams.tool.noticeboard.NoticeboardUser"
-
-
-
-
-
-
+
-
-
+
+
+
+
+
+
Index: lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardUser.hbm.xml
===================================================================
diff -u -r6e5832d17263bc6c6f7683733e91e22f97eab569 -rdce659b59eb25956ec196310c7aa8eeaba6a6beb
--- lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardUser.hbm.xml (.../NoticeboardUser.hbm.xml) (revision 6e5832d17263bc6c6f7683733e91e22f97eab569)
+++ lams_tool_nb/conf/hibernate/mappings/org/lamsfoundation/lams/tool/noticeboard/NoticeboardUser.hbm.xml (.../NoticeboardUser.hbm.xml) (revision dce659b59eb25956ec196310c7aa8eeaba6a6beb)
@@ -1,112 +1,86 @@
-
+
+
-
-
-
-
-
-
- @hibernate.class
+
-
-
-
- @hibernate.id
- generator-class="native"
- type="java.lang.Long"
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
- @hibernate.property
+
-
-
-
- @hibernate.property
+ />
+
+
-
-
-
- @hibernate.property
- column="fullname"
- length="50"
-
-
-
-
- @hibernate.property
+ />
+
+
-
+ />
-
-
-
-
-
- @hibernate.many-to-one
- not-null="true"
- @hibernate.column name="nb_session_uid"
-
-
-
+
-
+
+