JDBC runs in process or out of process. The default is out of process so your call was sent to a JDBC thread that hasn't returned a result (example, if there is an object lock etc, on the iSeries). You can run the request in a Java thread easily and let your application continue while the background thread waits for the result. You can set a timeout that says the request failed and have the foreground thread invoke error handling, issue and error message, etc. if the background thread hasn't returned the result after X seconds.
================================== MORE INFORMATION ON THIS TOPIC ==================================
Ask your Web development questions--or help out your peers by answering them--in our live discussion forums.
The Best Web Links: tips, tutorials and more.
This was first published in August 2002