I impletemented getting data by using list with spring batch.