19 Nov
2002
19 Nov
'02
10:10 p.m.
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