db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/odmg CollectionsTest.java
Date Fri, 25 Nov 2005 14:35:30 GMT
arminw      2005/11/25 06:35:30

  Modified:    src/test/org/apache/ojb/odmg Tag: OJB_1_0_RELEASE
                        CollectionsTest.java
  Log:
  update test
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.13.2.12 +3 -3      db-ojb/src/test/org/apache/ojb/odmg/CollectionsTest.java
  
  Index: CollectionsTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/CollectionsTest.java,v
  retrieving revision 1.13.2.11
  retrieving revision 1.13.2.12
  diff -u -r1.13.2.11 -r1.13.2.12
  --- CollectionsTest.java	16 Aug 2005 15:11:32 -0000	1.13.2.11
  +++ CollectionsTest.java	25 Nov 2005 14:35:30 -0000	1.13.2.12
  @@ -475,8 +475,8 @@
           // we want automatic delete of removed collection objects
           //tx.autoDeleteRemovedCollectionReferences(true);
           // alternative do explicit call Database#deletePersistent for removed objects
  -        // fetchedGat.getCollectiblesA().remove(0)
  -        // fetchedGat.getCollectiblesB().remove(0);
  +        fetchedGat.getCollectiblesA().remove(0);
  +        fetchedGat.getCollectiblesB().remove(0);
   tx.getBroker().serviceObjectCache().cache(tx.getBroker().serviceIdentity().buildIdentity(fetchedGat),
fetchedGat);
   //System.out.println("remove: " + tx.getBroker().serviceIdentity().buildIdentity(fetchedGat.getCollectiblesA().remove(0)));
   //System.out.println("remove: " + tx.getBroker().serviceIdentity().buildIdentity(fetchedGat.getCollectiblesB().remove(0)));
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message