Index: lams_common/conf/hibernate/mappings/usermanagement/AuthenticationMethod.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/usermanagement/Attic/AuthenticationMethod.hbm.xml,v diff -u -r1.1 -r1.2 --- lams_common/conf/hibernate/mappings/usermanagement/AuthenticationMethod.hbm.xml 18 Nov 2004 04:13:04 -0000 1.1 +++ lams_common/conf/hibernate/mappings/usermanagement/AuthenticationMethod.hbm.xml 26 Nov 2004 00:35:40 -0000 1.2 @@ -12,14 +12,14 @@ --> @hibernate.class table="lams_authentication_method" - proxy="com.lamsinternational.lams.usermanagement.model.AuthenticationMethod" + proxy="com.lamsinternational.lams.usermanagement.AuthenticationMethod" true @@ -46,7 +46,7 @@ @@ -73,18 +73,18 @@ column="authentication_method_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.User" + class="com.lamsinternational.lams.usermanagement.User" Index: lams_common/conf/hibernate/mappings/usermanagement/AuthenticationMethodParameter.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/usermanagement/Attic/AuthenticationMethodParameter.hbm.xml,v diff -u -r1.1 -r1.2 --- lams_common/conf/hibernate/mappings/usermanagement/AuthenticationMethodParameter.hbm.xml 18 Nov 2004 04:13:04 -0000 1.1 +++ lams_common/conf/hibernate/mappings/usermanagement/AuthenticationMethodParameter.hbm.xml 26 Nov 2004 00:35:50 -0000 1.2 @@ -12,14 +12,14 @@ --> @hibernate.class table="lams_authentication_method_parameter" - proxy="com.lamsinternational.lams.usermanagement.model.AuthenticationMethodParameter" + proxy="com.lamsinternational.lams.usermanagement.AuthenticationMethodParameter" true @@ -72,7 +72,7 @@ true Index: lams_common/conf/hibernate/mappings/usermanagement/AuthenticationMethodType.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/usermanagement/Attic/AuthenticationMethodType.hbm.xml,v diff -u -r1.1 -r1.2 --- lams_common/conf/hibernate/mappings/usermanagement/AuthenticationMethodType.hbm.xml 18 Nov 2004 04:13:04 -0000 1.1 +++ lams_common/conf/hibernate/mappings/usermanagement/AuthenticationMethodType.hbm.xml 26 Nov 2004 00:35:50 -0000 1.2 @@ -12,14 +12,14 @@ --> @hibernate.class table="lams_authentication_method_type" - proxy="com.lamsinternational.lams.usermanagement.model.AuthenticationMethodType" + proxy="com.lamsinternational.lams.usermanagement.AuthenticationMethodType" true @@ -74,13 +74,13 @@ column="authentication_method_type_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.AuthenticationMethod" + class="com.lamsinternational.lams.usermanagement.AuthenticationMethod" Index: lams_common/conf/hibernate/mappings/usermanagement/Organisation.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/usermanagement/Attic/Organisation.hbm.xml,v diff -u -r1.2 -r1.3 --- lams_common/conf/hibernate/mappings/usermanagement/Organisation.hbm.xml 24 Nov 2004 00:26:16 -0000 1.2 +++ lams_common/conf/hibernate/mappings/usermanagement/Organisation.hbm.xml 26 Nov 2004 00:35:50 -0000 1.3 @@ -12,14 +12,14 @@ --> @hibernate.class table="lams_organisation" - proxy="com.lamsinternational.lams.usermanagement.model.Organisation" + proxy="com.lamsinternational.lams.usermanagement.Organisation" true @@ -84,7 +84,7 @@ @@ -97,7 +97,7 @@ @@ -124,13 +124,13 @@ column="organisation_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.UserOrganisation" + class="com.lamsinternational.lams.usermanagement.UserOrganisation" @@ -150,19 +150,19 @@ column="parent_folder_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.Organisation" + class="com.lamsinternational.lams.usermanagement.Organisation" @hibernate.many-to-one Index: lams_common/conf/hibernate/mappings/usermanagement/OrganisationType.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/usermanagement/Attic/OrganisationType.hbm.xml,v diff -u -r1.1 -r1.2 --- lams_common/conf/hibernate/mappings/usermanagement/OrganisationType.hbm.xml 18 Nov 2004 04:13:04 -0000 1.1 +++ lams_common/conf/hibernate/mappings/usermanagement/OrganisationType.hbm.xml 26 Nov 2004 00:35:50 -0000 1.2 @@ -12,14 +12,14 @@ --> @hibernate.class table="lams_organisation_type" - proxy="com.lamsinternational.lams.usermanagement.model.OrganisationType" + proxy="com.lamsinternational.lams.usermanagement.OrganisationType" true @@ -30,27 +30,43 @@ > @hibernate.id - generator-class="native" + generator-class="increment" type="java.lang.Integer" column="organisation_type_id" true - + + + @hibernate.property + column="name" + unique="true" + length="64" + not-null="true" + + + @hibernate.property column="description" - length="64" + length="255" not-null="true" @@ -74,13 +90,13 @@ column="organisation_type_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.Organisation" + class="com.lamsinternational.lams.usermanagement.Organisation" Index: lams_common/conf/hibernate/mappings/usermanagement/Role.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/usermanagement/Attic/Role.hbm.xml,v diff -u -r1.2 -r1.3 --- lams_common/conf/hibernate/mappings/usermanagement/Role.hbm.xml 24 Nov 2004 00:26:46 -0000 1.2 +++ lams_common/conf/hibernate/mappings/usermanagement/Role.hbm.xml 26 Nov 2004 00:35:50 -0000 1.3 @@ -12,14 +12,14 @@ --> @hibernate.class table="lams_role" - proxy="com.lamsinternational.lams.usermanagement.model.Role" + proxy="com.lamsinternational.lams.usermanagement.Role" true @@ -86,13 +86,13 @@ column="role_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.UserOrganisationRole" + class="com.lamsinternational.lams.usermanagement.UserOrganisationRole" Index: lams_common/conf/hibernate/mappings/usermanagement/User.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/usermanagement/Attic/User.hbm.xml,v diff -u -r1.2 -r1.3 --- lams_common/conf/hibernate/mappings/usermanagement/User.hbm.xml 24 Nov 2004 00:26:56 -0000 1.2 +++ lams_common/conf/hibernate/mappings/usermanagement/User.hbm.xml 26 Nov 2004 00:35:50 -0000 1.3 @@ -12,14 +12,14 @@ --> @hibernate.class table="lams_user" - proxy="com.lamsinternational.lams.usermanagement.model.User" + proxy="com.lamsinternational.lams.usermanagement.User" true @@ -44,12 +44,14 @@ type="java.lang.String" column="login" not-null="true" + unique="true" length="20" > true @hibernate.property column="login" + unique="true" length="20" not-null="true" @@ -270,7 +272,7 @@ @@ -297,19 +299,19 @@ column="user_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.UserOrganisation" + class="com.lamsinternational.lams.usermanagement.UserOrganisation" Index: lams_common/conf/hibernate/mappings/usermanagement/UserOrganisation.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/usermanagement/Attic/UserOrganisation.hbm.xml,v diff -u -r1.2 -r1.3 --- lams_common/conf/hibernate/mappings/usermanagement/UserOrganisation.hbm.xml 24 Nov 2004 00:27:06 -0000 1.2 +++ lams_common/conf/hibernate/mappings/usermanagement/UserOrganisation.hbm.xml 26 Nov 2004 00:35:50 -0000 1.3 @@ -12,14 +12,14 @@ --> @hibernate.class table="lams_user_organisation" - proxy="com.lamsinternational.lams.usermanagement.model.UserOrganisation" + proxy="com.lamsinternational.lams.usermanagement.UserOrganisation" true @@ -45,7 +45,7 @@ true @@ -73,19 +73,19 @@ column="user_organisation_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.UserOrganisationRole" + class="com.lamsinternational.lams.usermanagement.UserOrganisationRole" true Index: lams_common/conf/hibernate/mappings/usermanagement/UserOrganisationRole.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/usermanagement/Attic/UserOrganisationRole.hbm.xml,v diff -u -r1.1 -r1.2 --- lams_common/conf/hibernate/mappings/usermanagement/UserOrganisationRole.hbm.xml 18 Nov 2004 04:13:04 -0000 1.1 +++ lams_common/conf/hibernate/mappings/usermanagement/UserOrganisationRole.hbm.xml 26 Nov 2004 00:35:50 -0000 1.2 @@ -12,14 +12,14 @@ --> @hibernate.class table="lams_user_organisation_role" - proxy="com.lamsinternational.lams.usermanagement.model.UserOrganisationRole" + proxy="com.lamsinternational.lams.usermanagement.UserOrganisationRole" true @@ -45,7 +45,7 @@ true @@ -59,7 +59,7 @@ true Index: lams_common/conf/hibernate/mappings/usermanagement/Workspace.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/usermanagement/Attic/Workspace.hbm.xml,v diff -u -r1.1 -r1.2 --- lams_common/conf/hibernate/mappings/usermanagement/Workspace.hbm.xml 18 Nov 2004 04:13:04 -0000 1.1 +++ lams_common/conf/hibernate/mappings/usermanagement/Workspace.hbm.xml 26 Nov 2004 00:35:50 -0000 1.2 @@ -12,14 +12,14 @@ --> @hibernate.class table="lams_workspace" - proxy="com.lamsinternational.lams.usermanagement.model.Workspace" + proxy="com.lamsinternational.lams.usermanagement.Workspace" true @@ -60,13 +60,13 @@ column="workspace_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.User" + class="com.lamsinternational.lams.usermanagement.User" @@ -86,19 +86,19 @@ column="workspace_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.Organisation" + class="com.lamsinternational.lams.usermanagement.Organisation" Index: lams_common/conf/hibernate/mappings/usermanagement/WorkspaceFolder.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/usermanagement/Attic/WorkspaceFolder.hbm.xml,v diff -u -r1.1 -r1.2 --- lams_common/conf/hibernate/mappings/usermanagement/WorkspaceFolder.hbm.xml 18 Nov 2004 04:13:04 -0000 1.1 +++ lams_common/conf/hibernate/mappings/usermanagement/WorkspaceFolder.hbm.xml 26 Nov 2004 00:35:50 -0000 1.2 @@ -12,14 +12,14 @@ --> @hibernate.class table="lams_workspace_folder" - proxy="com.lamsinternational.lams.usermanagement.model.WorkspaceFolder" + proxy="com.lamsinternational.lams.usermanagement.WorkspaceFolder" true @@ -87,13 +87,13 @@ column="root_folder_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.Workspace" + class="com.lamsinternational.lams.usermanagement.Workspace" @@ -113,19 +113,19 @@ column="parent_folder_id" @hibernate.collection-one-to-many - class="com.lamsinternational.lams.usermanagement.model.WorkspaceFolder" + class="com.lamsinternational.lams.usermanagement.WorkspaceFolder" @hibernate.many-to-one