I am currently trying to read a table with about 5 million records using spring batch. After several minutes I got the follwing exception: org.springframework.batch.item.ItemStreamException: I am using a simple query: select * from table When using a query with a limit like select * from table limit 10000 it works well. Is there a limit to the number of