I'm trying to run multiple SQL queries in a single SQL server thread through a java code. I tried using batch run for my queries, but seeing the logs, my queries were running in different threads.
Is there a way to run all my queries under a single thread?
I have enabled concurrency flag for my queries so that read/write operations do not conflict and resulting in an exception.