7. The method of claim 5, further comprising the step of deallocating the runtime context independent of the runtime state of the first and second threads.
5. A method for processing a database transaction in a multithreading environment, the method comprising the steps of: a) allocating a runtime context on a client executing a database application; b) assigning the runtime context to a first thread of said database application; c) causing the first thread of said database application to initiate performance, within a database server, of an operation specified by the transaction and store data associated with the runtime state of the first thread in the runtime context on the client; d) determining whether a set of conditions exists; and e) if the set of conditions exists, i) assigning the runtime context to a second thread of said database application, and ii) causing the second thread to cause said database server to continue performance of the operation and store data associated with the runtime state of the second thread in the runtime context.