anchor.diff:  Job Exit Status : COMPLETED
   ----
   And finally, check the STUDENTS_RESULT in mysql DB.
  -![Image of db-output](https://github.com/sahoora-nath/spring-batch-standalone/tree/master/images/Batch_Result.png)
  +image::/images/Batch_Result.png[]
   
   Records are saved in DB, you can see the students having less than 75% are missing which are filtered in procesor.
positive.code: == 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)
  
  === Configuring a Step
  
  ![Image of configuring-a-step](https://github.com/sahoora-nath/spring-batch-standalone/tree/master/images/configuring-a-step.png)
  
  The configuration above represents the only required dependencies to create a item-oriented step:
  
  
negative.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.
  