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/broker QueryTest.java
Date Thu, 03 Nov 2005 11:53:44 GMT
arminw      2005/11/03 03:53:43

  Modified:    src/test/org/apache/ojb/broker Tag: OJB_1_0_RELEASE
                        QueryTest.java
  Log:
  fix problem with commons StopWatch class
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.61.2.17 +2 -1      db-ojb/src/test/org/apache/ojb/broker/QueryTest.java
  
  Index: QueryTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/QueryTest.java,v
  retrieving revision 1.61.2.16
  retrieving revision 1.61.2.17
  diff -u -r1.61.2.16 -r1.61.2.17
  --- QueryTest.java	5 Oct 2005 18:01:28 -0000	1.61.2.16
  +++ QueryTest.java	3 Nov 2005 11:53:41 -0000	1.61.2.17
  @@ -1925,6 +1925,7 @@
           crit = new Criteria();
           crit.addEqualTo("name", name);
           q = QueryFactory.newQuery(Gourmet.class, crit);
  +        watch.reset();
           watch.start();
           c = broker.getCollectionByQuery(q);
           watch.stop();
  
  
  

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