1. A method for processing host language source code where the host language source code supports multithreading and contains embedded database language statements, the method comprising the steps of: identifying a database language statement; determining whether the database language statement is associated with a runtime context variable; and if the database language statement is associated with the runtime context variable, then replacing the database language statement with host language source code associated with the runtime context variable.