Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import org.springframework.batch.item.ItemProcessor;
import test.vo.SourceVO;
import test.vo.TargetVO;
public class TestProcessor implements ItemProcessor<SourceVO, TargetVO> {
public TargetVO process(SourceVO item) throws Exception {
TargetVO targetVO = new TargetVO();
targetVO.new_col1 = item.col1;
targetVO.new_col2 = item.col2;
targetVO.new_col3 = item.col3;
return targetVO;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment