commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ep...@apache.org
Subject cvs commit: jakarta-commons/configuration/src/test/org/apache/commons/configuration TestDatabaseConfiguration.java
Date Sun, 15 Feb 2004 11:58:07 GMT
epugh       2004/02/15 03:58:07

  Modified:    configuration/src/test/org/apache/commons/configuration
                        TestDatabaseConfiguration.java
  Log:
  Commit the connection, prevents erros with "Database in use another process"
  
  Revision  Changes    Path
  1.4       +2 -1      jakarta-commons/configuration/src/test/org/apache/commons/configuration/TestDatabaseConfiguration.java
  
  Index: TestDatabaseConfiguration.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/configuration/src/test/org/apache/commons/configuration/TestDatabaseConfiguration.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestDatabaseConfiguration.java	22 Jan 2004 11:41:23 -0000	1.3
  +++ TestDatabaseConfiguration.java	15 Feb 2004 11:58:07 -0000	1.4
  @@ -105,6 +105,7 @@
       }
       
       protected void tearDown() throws SQLException{
  +        datasource.getConnection().commit();
           datasource.getConnection().close();
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message