一直期待有能人帮我解决这个问题!咋就没有呢??????
Connection conn=db.getConnection();
Statement stmt=conn.creatStatement();
int a=0,b=0;
a=stmt.executeUpdate("update test set userPwd='aaa' where userName='ddd'");
///上而这句更新是可以的
b=stmt.executeUpdate("insert into test values('abc','fgg')");
System.out.println("b=" + b); ...
评论排行榜