@Override protected void tearDown() throws SQLException {
  firstStmt.close();
  secondStmt.close();
  firstConnection.setAutoCommit(true);
  firstStmt=firstConnection.createStatement();
  firstStmt.execute("drop table tbl1");
  firstStmt.close();
  firstConnection.close();
  secondConnection.close();
}

@ Override protected void tearDown ( ) throws SQLException { firstStmt . close ( ) ; secondStmt . close ( ) ; firstConnection . setAutoCommit ( true ) ; firstStmt = firstConnection . createStatement ( ) ; firstStmt . execute ( "drop table tbl1" ) ; firstStmt . close ( ) ; firstConnection . close ( ) ; secondConnection . close ( ) ; }
tears down a unit test , by setting the auto commit property of the first connection back to true , dropping the test table and closing the two connections .
