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/java/org/apache/ojb/broker/accesslayer SqlBasedRsIterator.java
Date Fri, 28 Feb 2003 21:27:53 GMT
thma        2003/02/28 13:27:53

  Modified:    src/java/org/apache/ojb/broker/accesslayer
                        SqlBasedRsIterator.java
  Log:
  bugfix: cache member of super class must be assigned in constructor (fix by Per-Olof Noren)
  
  Revision  Changes    Path
  1.12      +4 -2      db-ojb/src/java/org/apache/ojb/broker/accesslayer/SqlBasedRsIterator.java
  
  Index: SqlBasedRsIterator.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/SqlBasedRsIterator.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- SqlBasedRsIterator.java	2 Feb 2003 03:36:18 -0000	1.11
  +++ SqlBasedRsIterator.java	28 Feb 2003 21:27:53 -0000	1.12
  @@ -88,10 +88,12 @@
   		 * options.
   		 */
           m_rsAndStmt = broker.serviceJdbcAccess().executeSQL(sqlStatement, cld, Query.SCROLLABLE);
  +        cache = broker.serviceObjectCache();
  +        m_row = new HashMap();
           m_broker = broker;
           m_cld = cld;
           itemProxyClass = cld.getProxyClass();
  -        m_row = new HashMap();
  +        
       }
   
       /**
  
  
  

Mime
View raw message