Use a profiler like JProfiler or YourKit Java Profiler to look at the JDBC connections. IntelliJ can also be used to pause the execution and you can observe the stacks in the Hikari Threads. It depends on the constellation of you prod environment, but you might be able to setup an remote debugging session.