Index: lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/tool/ToolSession.hbm.xml =================================================================== diff -u -rc1324f6fe3e855aa13b8e8fc214e6d69ad109661 -rd883255ed6c431a263a24462714bb62cfa7c6fa2 --- lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/tool/ToolSession.hbm.xml (.../ToolSession.hbm.xml) (revision c1324f6fe3e855aa13b8e8fc214e6d69ad109661) +++ lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/tool/ToolSession.hbm.xml (.../ToolSession.hbm.xml) (revision d883255ed6c431a263a24462714bb62cfa7c6fa2) @@ -2,138 +2,72 @@ - + - - http://boss.bekk.no/boss/middlegen/ - http://www.hibernate.org/ ---> + + + @hibernate.class table="lams_tool_session" + + true - - - @hibernate.class - table="lams_tool_session" - - true + + + @hibernate.id generator-class="identity" + type="java.lang.Long" column="tool_session_id" + + + - - - @hibernate.id - generator-class="identity" - type="java.lang.Long" - column="tool_session_id" + + + + @hibernate.property column="activity_id" length="20" + not-null="true" + + + + + @hibernate.property column="tool_session_key" + length="20" not-null="true" + + + + + @hibernate.property column="create_date_time" + length="19" not-null="true" + + - - - + - - - @hibernate.property - column="activity_id" - length="20" - not-null="true" - - - - - @hibernate.property - column="tool_session_key" - length="20" - not-null="true" - - - - - @hibernate.property - column="create_date_time" - length="19" - not-null="true" - - + + + - - - - - - - - - - @hibernate.many-to-one - not-null="true" - @hibernate.column name="tool_session_state_id" - - - - - +