Index: lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/integration/ExtCourseClassMap.hbm.xml =================================================================== diff -u --- lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/integration/ExtCourseClassMap.hbm.xml (revision 0) +++ lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/integration/ExtCourseClassMap.hbm.xml (revision 14d82446e40bfe1dfa32a2710cd5453da3261a37) @@ -0,0 +1,86 @@ + + + + + + + + + @hibernate.class + table="lams_ext_course_class_map" + + + + + @hibernate.id + generator-class="native" + type="java.lang.Integer" + column="sid" + + + + true + + + + + true + + @hibernate.property + column="courseid" + length="255" + not-null="true" + + + + + + + + + @hibernate.many-to-one + not-null="true" + @hibernate.column name="ext_server_org_map_id" + + + + + + + @hibernate.many-to-one + not-null="true" + @hibernate.column name="classid" + + + + + + Index: lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/integration/ExtServerOrgMap.hbm.xml =================================================================== diff -u --- lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/integration/ExtServerOrgMap.hbm.xml (revision 0) +++ lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/integration/ExtServerOrgMap.hbm.xml (revision 14d82446e40bfe1dfa32a2710cd5453da3261a37) @@ -0,0 +1,227 @@ + + + + + + + + + @hibernate.class + table="lams_ext_server_org_map" + + + + + @hibernate.id + generator-class="native" + type="java.lang.Integer" + column="sid" + + + + true + + + + + true + + @hibernate.property + column="serverid" + unique="true" + length="255" + not-null="true" + + + + true + + @hibernate.property + column="serverkey" + length="65535" + not-null="true" + + + + true + + @hibernate.property + column="servername" + length="255" + not-null="true" + + + + + @hibernate.property + column="serverdesc" + length="65535" + + + + + @hibernate.property + column="prefix" + unique="true" + length="11" + not-null="true" + + + + + @hibernate.property + column="userinfo_url" + length="65535" + not-null="true" + + + + + @hibernate.property + column="timeout_url" + length="65535" + not-null="true" + + + + + @hibernate.property + column="disabled" + length="1" + not-null="true" + + + + + + + + + @hibernate.set + lazy="true" + inverse="true" + cascade="none" + + @hibernate.collection-key + column="ext_server_org_map_id" + + @hibernate.collection-one-to-many + class="org.lamsfoundation.lams.integration.ExtCourseClassMap" + + + + + + + + + + @hibernate.set + lazy="true" + inverse="true" + cascade="none" + + @hibernate.collection-key + column="ext_server_org_map_id" + + @hibernate.collection-one-to-many + class="org.lamsfoundation.lams.integration.ExtUserUseridMap" + + + + + + + + + + @hibernate.many-to-one + not-null="true" + @hibernate.column name="orgid" + + + + + + Index: lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/integration/ExtUserUseridMap.hbm.xml =================================================================== diff -u --- lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/integration/ExtUserUseridMap.hbm.xml (revision 0) +++ lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/integration/ExtUserUseridMap.hbm.xml (revision 14d82446e40bfe1dfa32a2710cd5453da3261a37) @@ -0,0 +1,86 @@ + + + + + + + + + @hibernate.class + table="lams_ext_user_userid_map" + + + + + @hibernate.id + generator-class="native" + type="java.lang.Integer" + column="sid" + + + + true + + + + + true + + @hibernate.property + column="foreign_username" + length="250" + not-null="true" + + + + + + + + + @hibernate.many-to-one + not-null="true" + @hibernate.column name="user_id" + + + + + + + @hibernate.many-to-one + not-null="true" + @hibernate.column name="ext_server_org_map_id" + + + + + +