db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer RsIterator.java
Date Sun, 01 Dec 2002 11:46:40 GMT
thma        2002/12/01 03:46:40

  Modified:    src/java/org/apache/ojb/broker/accesslayer RsIterator.java
  Log:
  repair retrieve references
  
  Revision  Changes    Path
  1.21      +5 -3      jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/RsIterator.java
  
  Index: RsIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/java/org/apache/ojb/broker/accesslayer/RsIterator.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- RsIterator.java	16 Nov 2002 18:06:30 -0000	1.20
  +++ RsIterator.java	1 Dec 2002 11:46:40 -0000	1.21
  @@ -419,8 +419,10 @@
   					   */
   					   // fill reference and collection attributes
   					   ClassDescriptor cld = m_cld.getRepository().getDescriptorFor(result.getClass());
  -					   m_broker.retrieveReferences(result, cld);
  -					   m_broker.retrieveCollections(result, cld);
  +					   // don't force loading of reference
  +					   final boolean unforced = false;
  +					   m_broker.retrieveReferences(result, cld, unforced);
  +					   m_broker.retrieveCollections(result, cld, unforced);
   				    }
                   }
   			}
  
  
  

Mime
View raw message