db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/singlevm PersistenceBrokerImpl.java
Date Fri, 28 Feb 2003 07:06:51 GMT
thma        2003/02/27 23:06:51

  Modified:    src/java/org/apache/ojb/broker/singlevm
                        PersistenceBrokerImpl.java
  Log:
  repair storeCollections
  
  Revision  Changes    Path
  1.137     +7 -2      db-ojb/src/java/org/apache/ojb/broker/singlevm/PersistenceBrokerImpl.java
  
  Index: PersistenceBrokerImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/singlevm/PersistenceBrokerImpl.java,v
  retrieving revision 1.136
  retrieving revision 1.137
  diff -u -r1.136 -r1.137
  --- PersistenceBrokerImpl.java	27 Feb 2003 18:35:37 -0000	1.136
  +++ PersistenceBrokerImpl.java	28 Feb 2003 07:06:51 -0000	1.137
  @@ -762,7 +762,12 @@
                   {
                       continue;
                   }
  -
  +                if (cds.isMtoNRelation())
  +                {
  +                    currentMtoNKeys = getMtoNImplementor(cds, obj);                   

  +                    // delete unused m:n implementors
  +                    deleteMtoNImplementor(cds, obj, (Collection)col, currentMtoNKeys);
  +                }
                   Iterator colIterator;
                   if (col instanceof ManageableCollection)
                   {
  
  
  

Mime
View raw message