title: How can I execute same jpa query multithreaded way in spring boot?
body: <p>In my spring application I read the excel file with apache poi and then I compare datas in excel file with my database datas, if my database doesn't contain the data which is in my excel file i save the data from excel file to database. I compare these two datas one by one but can I make it multithreaded way for example can i compare 10 datas in the excel file at the same time and then save all passed ones at the same time. If it's possble can you explain it a bit or can you share a helpfull resource with me about it. Thanks in advance.</p>