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/test/org/apache/ojb/broker PerformanceTest.java
Date Tue, 08 Jul 2003 20:35:35 GMT
thma        2003/07/08 13:35:35

  Modified:    src/test/org/apache/ojb/broker PerformanceTest.java
  Log:
  remove references to deprecated classes.
  
  Revision  Changes    Path
  1.11      +3 -2      db-ojb/src/test/org/apache/ojb/broker/PerformanceTest.java
  
  Index: PerformanceTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/PerformanceTest.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- PerformanceTest.java	2 Jun 2003 15:18:00 -0000	1.10
  +++ PerformanceTest.java	8 Jul 2003 20:35:34 -0000	1.11
  @@ -1,7 +1,8 @@
   package org.apache.ojb.broker;
   
   import junit.framework.TestCase;
  -import org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldMaxPerformanceImpl;
  +
  +import org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessImpl;
   import org.apache.ojb.broker.query.Criteria;
   import org.apache.ojb.broker.query.Query;
   import org.apache.ojb.broker.query.QueryByCriteria;
  @@ -75,7 +76,7 @@
               // manipulate configuration to use maximum performance field access
               OjbConfiguration conf = (OjbConfiguration) PersistenceBrokerFactory.
                       getConfigurator().getConfigurationFor(null);
  -            conf.setPersistentFieldClass(PersistentFieldMaxPerformanceImpl.class);
  +            conf.setPersistentFieldClass(PersistentFieldDirectAccessImpl.class);
           }
           catch (PBFactoryException e)
           {
  
  
  

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