[Zope-DB] Question: ZSQL and autocommit

Dieter Maurer dieter at handshake.de
Wed Mar 24 15:51:15 EST 2004


jelle wrote at 2004-3-23 09:35 -0800:
>I'm using python 2.1.3 -> Zope 2.6.3 -> zope python script -> ZSQL -> 
>Zpsycopg DA 1.1.11 -> postgresql 7.4.2
>
>Is it possible to run ZSQL in autocommit mode within a Zope transaction?

I made a small extension to "ZPsycopgDA" that sets the
connection in "autocommit" mode.

Of course, we use such DA instances only for read only access.

-- 
Dieter



More information about the Zope-DB mailing list