[Zope] DA releasing connection after each request

Dieter Maurer dieter at handshake.de
Tue Aug 31 15:32:38 EDT 2004


Florian Reiser wrote at 2004-8-25 10:02 +0200:
>I'm programming an database adapter that should release its database
>connection after each request.
>
>How can I implement a method that gets called at the end of the request?

You can close the connection after the "commit/abort" call.

-- 
Dieter


More information about the Zope mailing list