很简单的,就是设置,提交, 回滚了。        connection.setAutoCommit(false);
        strSql = "update .. ";        connection.executeSql(strSql);        strSql = "insert into one ";
        System.out.println(strSql);
        connection.executeSql(strSql);        strSql = " insert into two";
        connection.executeSql(strSql);
        connection.commit();
      }
    }
    catch ( Exception e )
    {
      connection.rollback();
      throw new SQlException("....");
    }