一段代碼這里
1  疑問為什么要設置              con.setAutoCommit(false);
這里設置為false或者true有什么區別?
  pStmt=con.prepareStatement("INSERT INTO test.addressbook_table" + 
                                              "(name,phone,address)"+
                                              " values(?,?,?)");
              con.setAutoCommit(false);              pStmt.setString(1,name);
              pStmt.setString(2,phone);
              pStmt.setString(3,address);
              int j=pStmt.executeUpdate();
              con.commit();
2   public static Vector search(String strSql)throws Exception{
      Vector addressbookBeans=new Vector()這里Vector向量表示什么意思?