diff --git a/src/main/java/BasicInfoDB2File.java b/src/main/java/BasicInfoDB2File.java index 5ac2226..8cd6efb 100644 --- a/src/main/java/BasicInfoDB2File.java +++ b/src/main/java/BasicInfoDB2File.java @@ -309,25 +309,8 @@ public class BasicInfoDB2File { this.logger.debug("======== runInsertTbRfid 6"); } this.logger.debug("======== runInsertTbRfid 9"); - /* - ps.addBatch(); // OraclePreparedStatement에 batch로 완성된 SQL 추가 - ps.clearParameters(); // OraclePreparedStatement에 지정된 Parameter값 초기화 - - if (n % 100 == 0) { - ps.executeBatch(); // 누적된 batch 실행 - ps.clearBatch(); // 누적된 batch 초기화 - conn.commit(); // Commit하여 적용 - this.logger.debug("===== commit ok"); - } else if (n % 10 == 0) { - this.logger.debug("===== : " + n); - }*/ } // end while -/* - // 최종적으로 누적된 채 남은 batch 작업(위의 if문) 실행 - ps.executeBatch(); - ps.clearBatch(); -*/ conn.commit();