I have a spring batch job in which I set the chunk size to 1000 and the reader in that job is a JpaPagingItemReader.
In the reader I set the page size to 20. Does this mean that every chunk of 1000 items read, the reader must take out of the DB 20 items?
If not what is the difference between them?