Fire and forget data api

Hi,

We are trying to call a stored procedure using data APIs from a java application. The stored procedure will take some time to execute and we don’t want to wait until the stored procedure execution is done. Is there any way to fire and forget the data API call?

Thanks in advance

The first thing that comes to mind is to start a thread in your Java app to call the SP. When the SP returns, let the thread terminate. You could encapsulate all that in a function. The foreground thread can then continue on with whatever it needs to do. Otherwise, explore the API documentation to see if there is anything built into it to fire and forget.