Deadlock with nested connections and connection pool.

I recently had to debug a deadlock issue with a legacy code that would deadlock when accessing its REST API by multiple threads. The issue was in the way the REST API was calling Oracle Database and using connections from the pool. Here is a pseudo code showing the database access used by the REST […]