db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olegn...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/core QueryReferenceBroker.java
Date Sun, 28 Dec 2003 18:20:07 GMT
olegnitz    2003/12/28 10:20:07

  Modified:    src/java/org/apache/ojb/broker/core Tag: OJB_BRANCH_1_0
                        QueryReferenceBroker.java
  Log:
  Batch retrieval and proxy prefetching for M:N relations
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.4.2.1   +3 -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.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- QueryReferenceBroker.java	13 Dec 2003 17:35:43 -0000	1.4
  +++ QueryReferenceBroker.java	28 Dec 2003 18:20:06 -0000	1.4.2.1
  @@ -496,7 +496,7 @@
           if (forced || cds.getCascadeRetrieve())
           {
               if ((m_retrievalTasks != null) && !cds.isLazy() 
  -                    && !cds.isMtoNRelation() && !cds.hasProxyItems()
  +                    && !cds.hasProxyItems()
                       && (cds.getQueryCustomizer() == null))
               {
                   addRetrievalTask(obj, cds);
  @@ -541,7 +541,7 @@
   
                   if (prefetchProxies && (m_retrievalTasks != null)
                           && (cds.getProxyPrefetchingLimit() > 0)
  -                        && !cds.isMtoNRelation() && (cds.getQueryCustomizer()
== null)
  +                        && && (cds.getQueryCustomizer() == null)
                           && (value instanceof CollectionProxy))
                   {
                       if (addRetrievalTask(obj, cds))
  
  
  

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