<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:util="http://www.springframework.org/schema/util"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
	http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">

	<import resource="classpath:data-source-context.xml" />

	<bean id="processor"
		class="org.springframework.batch.sample.item.writer.StagingItemWriter">
		<property name="incrementer">
			<bean id="jobIncrementer" parent="incrementerParent">
				<property name="incrementerName"
					value="BATCH_STAGING_SEQ" />
			</bean>
		</property>
		<property name="dataSource" ref="dataSource" />
	</bean>

	<bean id="provider"
		class="org.springframework.batch.sample.item.reader.StagingItemReader">
		<property name="dataSource" ref="dataSource" />
	</bean>

</beans>