I need to configure a multi-thread job and for that, I need to paginate my data in a different class, not in the config file. I've tried literally everything and I don't know why it doesn't work when I try to create a class for the Reader.
I've tried using JdbcPagingItemReader, JpaPagingItemReader and more.