anchor.diff:  == Configuring Batch Steps
   Spring batch uses a `chunk oriented` processing which refers to reading the data one at a time, and creating `chunks` that will be written out, with in a transaction boundary. One item is read in from an `ItemReader`, handed to an `ItemProcessor`, and aggregated. Once the number of items read equals the commit interval, the entire chunk is written out via the `ItemWriter`, and then the transaction is committed.
   
  -![Image of chunk-oriented-processing](https://github.com/sahoora-nath/spring-batch-standalone/tree/master/images/chunk-oriented-processing.png)
  +image::/images/chunk-oriented-processing.png[]
   
   === Configuring a Step
   
  -![Image of configuring-a-step](https://github.com/sahoora-nath/spring-batch-standalone/tree/master/images/configuring-a-step.png)
  +image::/images/configuring-a-step.png[]
   
   The configuration above represents the only required dependencies to create a item-oriented step:
   
  
positive.code: In this example project, we have used `JdbcBatchItemWriter` to execute a batch of statements for all items.
  ----
  <bean id="databaseItemWriter" class="org.springframework.batch.item.database.JdbcBatchItemWriter">
          <property name="dataSource" ref="dataSource" />
          <property name="sql">
              <value>
                  <![CDATA[        
                      insert into STUDENTS_RESULT(LAST_UPDATED_DATE, STUDENT_NAME, DOB, PERCENTAGE) 
                      values (NOW(), ?, ?, ?)
                  ]]>
              </value>
          </property>
   
          <property name="ItemPreparedStatementSetter">
              <bean class="com.sahoo.spring.batch.standalone.example.batch.StudentItemPreparedStatementSetter" />
          </property>
  </bean>
  ----
  `JdbcBatchItemWriter` need an SQL query and a special callback in the form of `ItemPreparedStatementSetter`. We need a custom setter to handle the conversion between Jodatime LocalDate and MySQL DATE.
  
negative.code: 
  Learn more about StAX https://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/1.6/tutorial/doc/SJSXP2.html
  ----
  <bean id="xmlItemReader" class="org.springframework.batch.item.xml.StaxEventItemReader"> 
  	<property name="resource" value="classpath:students.xml" /> 
  	<property name="fragmentRootElementName" value="Student" /> 
  	<property name="unmarshaller">
  		<bean class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
  			<property name="classesToBeBound">
  				<list>
  					<value>com.sahoo.spring.batch.standalone.example.model.Student</value>
  				</list>
  			</property>
  		</bean>
  	</property>
  </bean>
  ----
  Next the fragment of XML document is parsed using JAXB marshaller to java object(Model - Student), which is then pased to item processor.
  === Item Processor
  