java - long running CallableStatement execute without wait -



java - long running CallableStatement execute without wait -

i have stored procedure requires ~3 hours execute. , not want wait until procedure homecoming value or wait until callablestatement execute() method executed. there such possibility in jdbc? or should utilize methods trigger or execute in new thread? thanks.

was set reply thought i'd check dupes , found: is asynchronous jdbc phone call possible?

this reply gives lots of recommended patterns workaround "limitation". me, set recommend take @ threading solution, perhaps using threadpoolexecutor if require mulitple io-bound calls (although you'd need wary of clogging db sessions).

java oracle jdbc

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -