You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by th...@apache.org on 2003/07/08 22:35:35 UTC
cvs commit: db-ojb/src/test/org/apache/ojb/broker PerformanceTest.java
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