no message

main
이범준 7 months ago
parent ba3ea2a45e
commit 718a7dae69

@ -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();

Loading…
Cancel
Save