class JdbcReaderBatchWriterSampleJob {

	@Bean
	public JdbcBatchItemWriter<CustomerCredit> itemWriter(DataSource dataSource) {<FILL_FUNCTION_BODY>}

	@Bean
	public Job job(JobRepository jobRepository, JdbcTransactionManager transactionManager,
			ItemReader<CustomerCredit> itemReader, JdbcBatchItemWriter<CustomerCredit> itemWriter) {
		return new JobBuilder("ioSampleJob", jobRepository)
			.start(new StepBuilder("step1", jobRepository).<CustomerCredit, CustomerCredit>chunk(2, transactionManager)
				.reader(itemReader)
				.processor(new CustomerCreditIncreaseProcessor())
				.writer(itemWriter)
				.build())
			.build();
	}

}

		String sql = "UPDATE CUSTOMER set credit = :credit where id = :id";
		return new JdbcBatchItemWriterBuilder<CustomerCredit>().dataSource(dataSource)
			.sql(sql)
			.itemSqlParameterSourceProvider(new BeanPropertyItemSqlParameterSourceProvider<>())
			.assertUpdates(true)
			.build();
	
<no_super_class>