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/metadata RepositoryXmlHandler.java
Date Sun, 18 Jan 2004 14:09:54 GMT
olegnitz    2004/01/18 06:09:53

  Modified:    src/java/org/apache/ojb/broker/metadata Tag: OJB_BRANCH_1_0
                        RepositoryXmlHandler.java
  Log:
  Fixed bug: proxy-prfetching-limit attribute didn't affect proxy collections
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.50.2.3  +5 -5      db-ojb/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java
  
  Index: RepositoryXmlHandler.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java,v
  retrieving revision 1.50.2.2
  retrieving revision 1.50.2.3
  diff -u -r1.50.2.2 -r1.50.2.3
  --- RepositoryXmlHandler.java	7 Jan 2004 13:02:03 -0000	1.50.2.2
  +++ RepositoryXmlHandler.java	18 Jan 2004 14:09:53 -0000	1.50.2.3
  @@ -537,11 +537,11 @@
                           if (isDebug) logger.debug("     " + tags.getTagById(PROXY_PREFETCHING_LIMIT)
+ ": " + proxyPrefetchingLimit);
                           if (proxyPrefetchingLimit == null)
   			{
  -                            m_CurrentCLD.setProxyPrefetchingLimit(defProxyPrefetchingLimit);
  +                            m_CurrentORD.setProxyPrefetchingLimit(defProxyPrefetchingLimit);
   			}
   			else
                           {
  -                            m_CurrentCLD.setProxyPrefetchingLimit(Integer.parseInt(proxyPrefetchingLimit));
  +                            m_CurrentORD.setProxyPrefetchingLimit(Integer.parseInt(proxyPrefetchingLimit));
                           }
   
                           // set refresh attribute
  @@ -662,11 +662,11 @@
                           if (isDebug) logger.debug("     " + tags.getTagById(PROXY_PREFETCHING_LIMIT)
+ ": " + proxyPrefetchingLimit);
                           if (proxyPrefetchingLimit == null)
   			{
  -                            m_CurrentCLD.setProxyPrefetchingLimit(defProxyPrefetchingLimit);
  +                            m_CurrentCOD.setProxyPrefetchingLimit(defProxyPrefetchingLimit);
   			}
   			else
                           {
  -                            m_CurrentCLD.setProxyPrefetchingLimit(Integer.parseInt(proxyPrefetchingLimit));
  +                            m_CurrentCOD.setProxyPrefetchingLimit(Integer.parseInt(proxyPrefetchingLimit));
                           }
   
                           // set refresh attribute
  
  
  

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