I have a table with over 10 000 rows. I am using Spring with JPA and i want to make a "batch" job where i can fetch 500 rows at time until there is no more to get from the table? I have a repository class which extends JpaRepository<SchoolAdmin, Long>
.
I am new to Spring so i would appreciate if anyone can help me?
Thank you :)