db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oliv...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/broker/sqlcount CollectionCountTest.java
Date Mon, 10 Nov 2003 12:37:26 GMT
oliverm     2003/11/10 04:37:26

  Modified:    src/test/org/apache/ojb/broker/sqlcount
                        CollectionCountTest.java
  Log:
  adjust sql count result to
  performance improvement by
  Andy Malakov and Jakob.
  
  Revision  Changes    Path
  1.6       +2 -3      db-ojb/src/test/org/apache/ojb/broker/sqlcount/CollectionCountTest.java
  
  Index: CollectionCountTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/sqlcount/CollectionCountTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CollectionCountTest.java	7 Nov 2003 21:46:07 -0000	1.5
  +++ CollectionCountTest.java	10 Nov 2003 12:37:26 -0000	1.6
  @@ -161,11 +161,10 @@
       myPB.store(pers, ObjectModificationDefaultImpl.INSERT);
       myPB.commitTransaction();
       // INSERT INTO PERSON (ID,FIRSTNAME,LASTNAME) VALUES ('292','','')
  -    // SELECT PROJECT_ID FROM PERSON_PROJECT WHERE PERSON_ID='292'
       // SELECT TITLE,DESCRIPTION,ID FROM PROJECT WHERE ID = '88'
       // INSERT INTO PROJECT (ID,TITLE,DESCRIPTION) VALUES ('88','proj2','')
       // INSERT INTO PERSON_PROJECT (PERSON_ID,PROJECT_ID) VALUES ('292','88')
       // commit|
  -    assertStmtCount("insert second Person, singleton collection.", 6);
  +    assertStmtCount("insert second Person, singleton collection.", 5);
     }
   }
  
  
  

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