db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/core QueryReferenceBroker.java
Date Mon, 08 Dec 2003 21:34:34 GMT
brj         2003/12/08 13:34:34

  Modified:    src/java/org/apache/ojb/broker/core
                        QueryReferenceBroker.java
  Log:
  use RelationshipPrefetcherFactory (missed this one)
  
  Revision  Changes    Path
  1.3       +2 -3      db-ojb/src/java/org/apache/ojb/broker/core/QueryReferenceBroker.java
  
  Index: QueryReferenceBroker.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/core/QueryReferenceBroker.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- QueryReferenceBroker.java	8 Dec 2003 21:25:01 -0000	1.2
  +++ QueryReferenceBroker.java	8 Dec 2003 21:34:34 -0000	1.3
  @@ -65,7 +65,6 @@
   import org.apache.ojb.broker.accesslayer.MaterializationListener;
   import org.apache.ojb.broker.accesslayer.OJBIterator;
   import org.apache.ojb.broker.accesslayer.PlainPrefetcher;
  -import org.apache.ojb.broker.accesslayer.ReferencePrefetcher;
   import org.apache.ojb.broker.accesslayer.RelationshipPrefetcher;
   import org.apache.ojb.broker.metadata.ClassDescriptor;
   import org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException;
  @@ -757,7 +756,7 @@
           {
               if (_key instanceof ObjectReferenceDescriptor)
               {
  -                return new ReferencePrefetcher(pb, (ObjectReferenceDescriptor) _key);
  +                return RelationshipPrefetcherFactory.createRelationshipPrefetcher(pb, (ObjectReferenceDescriptor)
_key);
               }
               else // PersistentBrokerImpl.this
               {
  
  
  

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