I am having a million SELECT queries like
select id from accountTable where lastname ='' and firstName='' and zip='';
and will be using the PreparedStatement for that.
I know for batch I can use only insert/update/delete and never seen batches used for select statements.
In order to improve the performance, I want to execute it in the batch of 1000, may I know how can I do that in scala?