[Zope] Autoconnect with ZMySQLDA 2.0.9

Dieter Maurer dieter at handshake.de
Tue Jan 17 13:41:23 EST 2006


Dennis Allison wrote at 2006-1-16 17:37 -0800:
> ...
>What's the recommend approach to re-establish the connection?

You reopen the connection (usually the "db" object has all necessary
information) and then raise an exception derived from
"ZODB.POSException.ConflictError" (in order to let your request
be repeated).


-- 
Dieter


More information about the Zope mailing list