批量插入注意事项:
新建Connection时加一句
conn.setAutoCommit(false);
每行数据赋值完,加一句
stat.addBatch();
最后
stat.executeBatch(); conn.commit();
最后记得free释放资源