Say a thread enters a method called m1() and starts a new transaction. When second thread tries to enter the same method, we are noticing that the second method is being blocked. Does PROPOGATION_REQUIRED block the second thread until the first thread has completed the job? Isolation is NOT set(default).
Thanks.
No, the transaction propagation settings have nothing to do with one thread being blocked. Transactions are precisely used to allow several threads to access the same database concurrently without problems.
Is this method synchronized? Because that would explain the blocking behavior.