java spring boot to make an example huge data in sql table

Job ID: 33107200

Budget: $10 – $30 USD

i need u to make a simple example project for me spring boot

i have sql table with 1 million record

i need the repository to fetch the rows one by one u tell me ur solution for this
i think maybe stream of pageable i have no idea u make a soultion for me

because when i use .findAll its hang and the application stop

i need to fetch and process the data from this table like row by row each time