anchor.diff:  
   === Setting up the database server
   
  -For this example, we will be using mysql community edition server or embedded derby server. Before installing the demo, we need to setup the server and create the database tables.
  +For this example, we will be using mysql community edition server. Before installing the demo, we need to setup the server and create the database tables.
   
  -. Create the database tables.
  +. To create database tables.
   In the db shell, run these following commands:
   [source,sql]
   ----
  
positive.code: == Goals
  
  * Using the `spring-batch` as standalone application.
  * Use of StAX Reader to a read chunk of XML file and process the date and finally putting into mySQL DB.
  * This is useful while processing large XML files.
  * The commit interval and failure scenario can be handled with the leverage of spring batch.
  
  == Overview
  
  This spring-batch demo will demonstrate how the API can be used to process bulk data in controlled way.
  These services can be extended to put the failed chunk in a separate file.
  
  == Prerequisites
  
  
negative.code: 2016-11-15 15:32:24 INFO  StudentJobListener:18 - Job starts at :2016-11-15T15:32:24.797
  2016-11-15 15:32:24 INFO  SimpleStepHandler:146 - Executing step: [step1]
  2016-11-15 15:32:25 INFO  StudentJobListener:24 - Job stops at : 2016-11-15T15:32:25.266
  2016-11-15 15:32:25 INFO  StudentJobListener:25 - Total time take in millis : 10
  2016-11-15 15:32:25 INFO  SimpleJobLauncher:136 - Job: [FlowJob: [name=studentsJob]] completed with the following parameters: [{}] and the following status: [COMPLETED]
  Job Exit Status : COMPLETED
  ----
  