#addBatch

【MySql】Java 批量插入数据库addBatch

//addBatch批量插入数据库publicstaticvoidinsertCommentToMySql(Set<String>commentList){Iterator<String>it=commentList.iterator();Statementst=null;try{st=DBCo...