BATCH_SIZE = 100000;
This commit is contained in:
parent
8b3bd9b951
commit
a776b1fff2
@ -473,7 +473,18 @@ public class AddrServiceImpl extends EgovAbstractServiceImpl implements AddrSer
|
|||||||
if(addrListVO.size() > 0) {
|
if(addrListVO.size() > 0) {
|
||||||
// 등록
|
// 등록
|
||||||
// Batch insert
|
// Batch insert
|
||||||
|
try {
|
||||||
batchInsertAddrList(addrListVO);
|
batchInsertAddrList(addrListVO);
|
||||||
|
|
||||||
|
} catch (Exception e) {
|
||||||
|
// TODO: handle exception
|
||||||
|
e.printStackTrace();
|
||||||
|
return new StatusResponse(
|
||||||
|
HttpStatus.BAD_REQUEST
|
||||||
|
, "배치오류"
|
||||||
|
, LocalDateTime.now()
|
||||||
|
);
|
||||||
|
}
|
||||||
// addrDAO.insertAddrList(addrListVO);
|
// addrDAO.insertAddrList(addrListVO);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user