JDBC preparedStatement executeBatch 效率低

問題 目前在優化一份代碼,經過日誌定位,發現程序的主要的時間花費在excuteBatch語句上。web 問題代碼 PreparedStatement ps = tempbaseCon.prepareStatement(sql); while (rs.next()) { //讀取數據 for (int i = 2; i <= columnCount; i++) { p
相關文章
相關標籤/搜索