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
Post a Comment