Hi thajudheenta,
Welcome to Microsoft Q&A.
In addition to using SQL Server profiler, you can try to use Performance Monitor or use Wireshark to filter capture on port 1433 to see if it is a network issue.
Please refer to Use PerfMon to Diagnose Common Server Performance Problems and How to Use Wireshark to Analyze Network Performance which might be helpful.
Please also check Diagnosing problems with the JDBC driver.
Best Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.