The system I work on connects to a number of different databases with
varying quality of network connectivity. As a result, I’ve modified
the application to run most transactions through a reconnect loop.
Initially the loop just created new connections when it retried a
transaction, but I’d prefer to implement something that takes
advantage of some of the connection API features. It works most of the
time, but on occasion I get the following error:
(OperationalError) ORA-03113: end-of-file on communication channel
Then the following trace back:
File "D:\data-repository\lib\database_manager.py", line 54, in
resume
connection.invalidate()
File "C:\Python26\lib\site-packages\sqlalchemy\engine\base.py", line
635, in invalidate
if self.__connection.is_valid:
AttributeError: 'Connection' object has no attribute
'_Connection__connection'
Is there a connection check I should be making before executing the
"invalidate" method or is this a bug in sqlalchemy?
Thanks,
Anton Benard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---