Frankly I'm very surprised this class of error has not been previously addressed.
I'll have to test and see what happens. I was planning on doing the defensive coding, followed by the testing to make sure it is caught and recovers correctly. Greg On Apr 2, 12:36 pm, Paul Johnston <[EMAIL PROTECTED]> wrote: > Greg, > > If you can send the traceback you get when such an error occurs, that > would be helpful for providing Oracle support for this condition. > > Paul > > Greg Copeland wrote: > >I'm using sqlalcehmy 2.5 with cx_Oracle 4.2.1. What is the proper way > >to detect an sqlalchemy operation has lost its database connection and > >reconnection/retry? The manual doesn't seem to say much about the > >topic. When connection loss occurs, does SA throw the native dbapi > >exception? If not, what exception will user code see? > > >I found that various threads on automatic reconnection and I assume SA > >does not currently, reliably, support automatic database reconnection? > > >Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---