Re: [cx-oracle-users] Time out parameter for connect?
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2005-10-24 21:00:17
|
Could you provide more information about what you desire? A quick Google search indicates that there is a "timeout" parameter for the OCITransStart() call but that's all. Is that what you are referring to? If not, what are you referring to? Depending on what you need and what platform you are running on, one option is to create a thread with a timer and upon the expiration of the timer cancel the cursor if its still running. You can't do this on Windows -- you probably need the OCITransSatart() call for that purpose. Its not wrapped by cx_Oracle today so I'd need more information if you want me to implement it. On 10/24/05, Molina, Gerardo <Ger...@sc...> wrote: > > > Is there a way to specify a timeout parameter to the connect method? > > Or, is there another way to incorporate a timeout parameter for cx_Oracle= ? > > Thanks, > Gerardo |