db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olegn...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/broker BatchModeTest.java
Date Sun, 18 Jan 2004 16:42:21 GMT
olegnitz    2004/01/18 08:42:21

  Modified:    src/test/org/apache/ojb/broker BatchModeTest.java
  Log:
  new batch mode test
  
  Revision  Changes    Path
  1.6       +7 -0      db-ojb/src/test/org/apache/ojb/broker/BatchModeTest.java
  
  Index: BatchModeTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/BatchModeTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BatchModeTest.java	13 Jan 2004 21:50:24 -0000	1.5
  +++ BatchModeTest.java	18 Jan 2004 16:42:21 -0000	1.6
  @@ -127,7 +127,14 @@
               broker.delete(pg2);
               broker.delete(a3);
               broker.delete(pg3);
  +            broker.commitTransaction();
   
  +            broker.beginTransaction();
  +            pg3.getAllArticles().clear();
  +            broker.store(pg3);
  +            broker.delete(pg3);
  +            broker.store(pg3);
  +            broker.delete(pg3);
               conMan.executeBatch();
           }
           finally
  
  
  

---------------------------------------------------------------------
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