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/test/org/apache/ojb/otm LockTestBase.java SwizzleTests.java
Date Sat, 28 Jun 2003 13:07:00 GMT
olegnitz    2003/06/28 06:07:00

  Modified:    src/test/org/apache/ojb/otm LockTestBase.java
                        SwizzleTests.java
  Log:
  Call conn.close() on tearDown
  
  Revision  Changes    Path
  1.3       +2 -0      db-ojb/src/test/org/apache/ojb/otm/LockTestBase.java
  
  Index: LockTestBase.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/otm/LockTestBase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LockTestBase.java	2 Jun 2003 12:52:29 -0000	1.2
  +++ LockTestBase.java	28 Jun 2003 13:06:59 -0000	1.3
  @@ -95,9 +95,11 @@
           try
           {
               _tx1.rollback();
  +	    _conn1.close();
               _conn1 = null;
   
               _tx2.rollback();
  +	    _conn2.close();
               _conn2 = null;
           }
           catch (Throwable t)
  
  
  
  1.5       +1 -0      db-ojb/src/test/org/apache/ojb/otm/SwizzleTests.java
  
  Index: SwizzleTests.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/otm/SwizzleTests.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SwizzleTests.java	27 Jun 2003 15:53:23 -0000	1.4
  +++ SwizzleTests.java	28 Jun 2003 13:07:00 -0000	1.5
  @@ -34,6 +34,7 @@
   
   	public void tearDown() throws LockingException
   	{
  +		_conn.close();
   		_conn = null;
   	}
   
  
  
  

Mime
View raw message