i have an oracle query which would result in thousands of rows (around 70k). i am using spring jdbc template and rowmapper to execute the query and storing all the records in the rowmapper , but this operation takes around 5-10 mins , which is not preferrable as API standpoint , i want to reduce this time , is there any other method/approach by which i can store this large chunk of data from oracle into my java. please advice.
Please Note: i have a select query , and no insertions/update operations , so i can't go with batch Update.