Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/usermanagement/Organisation.hbm.xml =================================================================== diff -u -r4b196cccfe15e110611808070d9387e0bb35a8d9 -r3243ccb499dce210aa4990de05e97846a24c0df6 --- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/usermanagement/Organisation.hbm.xml (.../Organisation.hbm.xml) (revision 4b196cccfe15e110611808070d9387e0bb35a8d9) +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/usermanagement/Organisation.hbm.xml (.../Organisation.hbm.xml) (revision 3243ccb499dce210aa4990de05e97846a24c0df6) @@ -14,7 +14,6 @@ @hibernate.class @@ -147,13 +146,13 @@ cascade="none" @hibernate.collection-key - column="parent_folder_id" + column="parent_organisation_id" @hibernate.collection-one-to-many class="com.lamsinternational.lams.usermanagement.Organisation" - + @hibernate.many-to-one - @hibernate.column name="parent_folder_id" + @hibernate.column name="parent_organisation_id" - + @hibernate.class Index: lams_common/conf/hibernate/mappings/com/lamsinternational/lams/usermanagement/UserOrganisation.hbm.xml =================================================================== diff -u -r4b196cccfe15e110611808070d9387e0bb35a8d9 -r3243ccb499dce210aa4990de05e97846a24c0df6 --- lams_common/conf/hibernate/mappings/com/lamsinternational/lams/usermanagement/UserOrganisation.hbm.xml (.../UserOrganisation.hbm.xml) (revision 4b196cccfe15e110611808070d9387e0bb35a8d9) +++ lams_common/conf/hibernate/mappings/com/lamsinternational/lams/usermanagement/UserOrganisation.hbm.xml (.../UserOrganisation.hbm.xml) (revision 3243ccb499dce210aa4990de05e97846a24c0df6) @@ -14,7 +14,6 @@ @hibernate.class @@ -59,13 +58,13 @@ @hibernate.set - lazy="true" + lazy="false" inverse="true" cascade="all-delete-orphan"