Created
April 30, 2019 07:00
-
-
Save Edijun/566b305026e878f1177544bb6c1a63a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Bean | |
| public Step csvFileToDatabaseStep() { | |
| return stepBuilderFactory | |
| .get("csvFileToDatabaseStep") | |
| .<Product, Product>chunk(1) | |
| .reader(csvProductReader()) | |
| .processor(csvProductProcessor()) | |
| .writer(csvProductWriter()) | |
| .build(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment