commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject cvs commit: jakarta-commons/dbcp/src/test/org/apache/commons/dbcp TestAbandonedBasicDataSource.java
Date Fri, 22 Aug 2003 12:40:00 GMT
dirkv       2003/08/22 05:40:00

  Modified:    dbcp/src/test/org/apache/commons/dbcp
                        TestAbandonedBasicDataSource.java
  Log:
  logging
  
  Revision  Changes    Path
  1.2       +10 -7     jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestAbandonedBasicDataSource.java
  
  Index: TestAbandonedBasicDataSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/dbcp/src/test/org/apache/commons/dbcp/TestAbandonedBasicDataSource.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestAbandonedBasicDataSource.java	21 Aug 2003 22:24:28 -0000	1.1
  +++ TestAbandonedBasicDataSource.java	22 Aug 2003 12:40:00 -0000	1.2
  @@ -109,19 +109,22 @@
   
       private void getConnection1() throws Exception {
           System.err.println("BEGIN getConnection1()");
  -        ds.getConnection();
  +        Connection conn = ds.getConnection();
  +        System.err.println("conn: " + conn);
           System.err.println("END getConnection1()");
       }
   
       private void getConnection2() throws Exception {
           System.err.println("BEGIN getConnection2()");
  -        ds.getConnection();
  +        Connection conn = ds.getConnection();
  +        System.err.println("conn: " + conn);
           System.err.println("END getConnection2()");
       }
   
       private void getConnection3() throws Exception {
           System.err.println("BEGIN getConnection3()");
  -        ds.getConnection();
  +        Connection conn = ds.getConnection();
  +        System.err.println("conn: " + conn);
           System.err.println("END getConnection3()");
       }
   
  
  
  

Mime
View raw message