通过jdbc连接数据库,批量执行多条SQL语句
方案一Statement ps=conn.createStatement();ps.addBatch("update user set money=money-100 where name='张三'");ps.addBatch("update user set money=money+100 where name='李四'");ps.addBatch("update temp se...