[9장] ItemWriter (1)
ItemWriter chunk 기반 처리방식이 도입되면서 아이템을 건건이 출력하지 않게됨. 그에따라 인터페이스도 ItemReader와 다르게 List를 파라미터로 받고있음. public interface ItemWriter { /** * Process the supplied data element. Will not be called with any null items * in normal operation. * * @param items items to be written * @throws Exception if there are errors. The framework will catch the * exception and convert or rethrow it as appropriate. */ void..
Reading Record/스프링 배치 완벽 가이드
2021. 12. 20.