db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/core PersistenceBrokerImpl.java
Date Fri, 07 May 2004 22:07:06 GMT
tomdz       2004/05/07 15:07:06

  Modified:    src/java/org/apache/ojb/broker/core
                        PersistenceBrokerImpl.java
  Log:
  Commented logging message (after a suggestion from Ilkka Priha)
  
  Revision  Changes    Path
  1.80      +10 -3     db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java
  
  Index: PersistenceBrokerImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java,v
  retrieving revision 1.79
  retrieving revision 1.80
  diff -u -r1.79 -r1.80
  --- PersistenceBrokerImpl.java	29 Apr 2004 08:55:46 -0000	1.79
  +++ PersistenceBrokerImpl.java	7 May 2004 22:07:06 -0000	1.80
  @@ -1148,8 +1148,15 @@
        */
       public void retrieveReference(Object pInstance, String pAttributeName) throws PersistenceBrokerException
       {
  -    	logger.info("Retrieving reference named["+pAttributeName+"] on ["
  -    		+pInstance.getClass().getName()+"]");
  +        // tomdz: This message is perhaps not so useful as to generate it for each
  +        //        call to this method (which is used for manual maintenance of relations)
?
  +/*
  +        if (logger.isEnabledFor(Logger.INFO))
  +        {
  +        	logger.info("Retrieving reference named["+pAttributeName+"] on ["+
  +        	            pInstance.getClass().getName()+"]");
  +        }
  +*/
           ClassDescriptor cld = getClassDescriptor(pInstance.getClass());
           CollectionDescriptor cod = cld.getCollectionDescriptorByName(pAttributeName);
           if (cod != null)
  
  
  

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