mysql+prepare+statement_java连mysql是执行查询是能用PrepareStatement类吗
publicintexeSql(Stringsql,Object[]param){intsign=0;PreparedStatementps=null;Connectionconn=null;try{conn=this.getConn();ps=conn.prepareStatement(sql);if(param!=null&&para...public int exeSql(S...