if (conn != null) if (conn.getAutoCommit() == false) conn.rollback();
  private void closeConnection()  {    try    {      if (stmt != null)        stmt.close(); // close statement      if (conn != null)        releaseConnection(conn);    }    catch (Exception ignore)    {    }  }