将多个sql进行批处理

Statement st = null;

st = conn.createStatement();

st.addBatch(sql);
st.executeBatch();

原文地址:https://www.cnblogs.com/cyz110/p/6283491.html