I have to execute a method asynchronously and I used Threads for this purpose. So the thread has to take the transaction from it's caller(initiator) and do the CRUD executions. So thread is trying to execute insert but it's not. And I seen the database monitor and it is in sleeping state.
Can someone help me why it gets blocked? or suggest some other way to achieve the scenario asynchronously.
Thanks in adavnce