[Zope-dev] RDB connections and cursors

Dieter Maurer dieter@handshake.de
Tue, 19 Nov 2002 23:10:35 +0100


Leonardo Rochael Almeida writes:
 > ...
 > Assuming my reasoning above is correct we should be able to create a
 > single connection and a single cursor on __setstate__ of the DA
 > connector instance of the ZODB. The transaction boundaries would be
 > handled normally, but since a worker thread only handles one request at
 > a time, there's no need to close the cursor nor the connection at the
 > transaction end.
Isn't this precisely how most existing DA's work?


Dieter