taylor 2004/09/30 21:38:41 Modified: components/registry/src/java/META-INF ojb_repository.xml Log: changing the mapping for PA -> User attributes relationship dropped the anonymous relationship and added a FK this seems to fix side effect bug where extra dup recs inserted when deleting or updating (insert wasnt showing this symptom) of user attributes i imagine we will need to do the same for other PA and PD associations Revision Changes Path 1.15 +4 -4 jakarta-jetspeed-2/components/registry/src/java/META-INF/ojb_repository.xml Index: ojb_repository.xml =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/components/registry/src/java/META-INF/ojb_repository.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- ojb_repository.xml 18 Aug 2004 18:56:12 -0000 1.14 +++ ojb_repository.xml 1 Oct 2004 04:38:41 -0000 1.15 @@ -196,8 +196,8 @@ <collection-descriptor name="userAttributes" element-class-ref="org.apache.jetspeed.om.impl.UserAttributeImpl" - auto-delete="false" - auto-update = "true" + auto-delete="object" + auto-update = "object" auto-retrieve = "true" > <inverse-foreignkey field-ref="appId"/> @@ -206,7 +206,7 @@ <collection-descriptor name="userAttributeRefs" element-class-ref="org.apache.jetspeed.om.impl.UserAttributeRefImpl" - auto-delete="false" + auto-delete="true" auto-update = "true" auto-retrieve = "true" > @@ -1280,7 +1280,7 @@ jdbc-type="BIGINT" primarykey="true" autoincrement="true" - access="anonymous" + indexed="true" /> <field-descriptor
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]