Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#8 Timed out cx_oracle.connect()

open
nobody
None
5
2014-02-07
2012-09-12
Dronord
No

Example:
svc = cx_oracle.svcctx()
con = svc.connect()
svc.cancel()
here "connect()" thread get exception

Thanks.

Discussion


  • Anonymous
    2012-09-18

    original:

    Example:
    svc = cx_oracle.svcctx()
    con = svc.connect()
    ~~~~~~~~~~~~ in other thread ~~~~~~~~~~~~
    svc.cancel()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    here "connect()" thread get exception
    Thanks.

     

  • Anonymous
    2014-02-07

    It is not clear what is expected here. When a connection is timed out, the thread using the connection has to get an exception, right? Isn't that expected? By the way, Connection.cancel() is the method to break the db operation, right?

     


Anonymous


Cancel   Add attachments