示例#1
0
 /**
  * Closes (i.e. return to the pool) the JDBC Connection that is currently in use by the
  * DbUnitDatabaseConnection
  */
 protected void closeJdbcConnection() {
   try {
     for (DbUnitDatabaseConnection dbUnitDatabaseConnection : dbUnitDatabaseConnections.values()) {
       dbUnitDatabaseConnection.closeJdbcConnection();
     }
   } catch (SQLException e) {
     throw new UnitilsException("Error while closing connection.", e);
   }
 }