标签:string close mem prepare pen long hid dba closed
1 ps = con.prepareStatement(sql); 2 long start = System.currentTimeMillis(); 3 for (int i = 0; i < 1000; i++) { 4 ps.setString(1, "qq"+i); 5 ps.addBatch(); 6 } 7 ps.executeBatch();
标签:string close mem prepare pen long hid dba closed
原文地址:http://www.cnblogs.com/Ysuwade/p/7455069.html