db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/accesslayer ConnectionFactoryAbstractImpl.java
Date Thu, 29 May 2003 14:39:35 GMT
arminw      2003/05/29 07:39:35

  Modified:    src/java/org/apache/ojb/broker/accesslayer
                        ConnectionFactoryAbstractImpl.java
  Log:
  add more logging
  
  Revision  Changes    Path
  1.6       +3 -1      db-ojb/src/java/org/apache/ojb/broker/accesslayer/ConnectionFactoryAbstractImpl.java
  
  Index: ConnectionFactoryAbstractImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/ConnectionFactoryAbstractImpl.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ConnectionFactoryAbstractImpl.java	6 May 2003 14:09:27 -0000	1.5
  +++ ConnectionFactoryAbstractImpl.java	29 May 2003 14:39:34 -0000	1.6
  @@ -210,6 +210,7 @@
           }
           // initialize connection
           initializeJdbcConnection(retval, jcd);
  +        if(log.isDebugEnabled()) log.debug("Create new connection using DataSource: "+retval);
           return retval;
       }
   
  @@ -258,6 +259,7 @@
           }
           // initialize connection
           initializeJdbcConnection(retval, jcd);
  +        if(log.isDebugEnabled()) log.debug("Create new connection using DriverManager:
"+retval);
           return retval;
       }
   
  
  
  

Mime
View raw message