Prevent access to the EMF within the singleton lock
This commit makes sure to defer registration of hibernate statistics outside of the singleton lock as it can lead to deadlocks when the EntityManagerFactory is initialized in deferred mode. Closes gh-23740
Showing
Please register or sign in to comment