BATCH_SIZE = 100000;

This commit is contained in:
hylee 2024-07-29 17:27:51 +09:00
parent 8b3bd9b951
commit a776b1fff2

View File

@ -473,7 +473,18 @@ public class AddrServiceImpl extends EgovAbstractServiceImpl implements AddrSer
if(addrListVO.size() > 0) {
// 등록
// Batch insert
batchInsertAddrList(addrListVO);
try {
batchInsertAddrList(addrListVO);
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
return new StatusResponse(
HttpStatus.BAD_REQUEST
, "배치오류"
, LocalDateTime.now()
);
}
// addrDAO.insertAddrList(addrListVO);
}