Issue with Multiple Asynchronous Database Calls Resulting in ResultSet Closure Exception
I’m facing an issue with multiple asynchronous database calls in my Java application, which is using Hibernate and DB2 as the database. The problem seems to be related to context propagation or possibly the way the async operations are being handled. Here’s a simplified version of the method where the issue occurs:
Issue with Multiple Asynchronous Database Calls Resulting in ResultSet Closure Exception
I’m facing an issue with multiple asynchronous database calls in my Java application, which is using Hibernate and DB2 as the database. The problem seems to be related to context propagation or possibly the way the async operations are being handled. Here’s a simplified version of the method where the issue occurs: