[Zope-DB] transaction-control with postgres via Zope

Axel Missbach Axel.Missbach@t-online.de
Wed, 05 Dec 2001 08:28:27 +0100


Hallo,

i'm trying to use transactions to control the database (Postrges).
the direkt SQL-call "BEGIN WORK", "COMMIT" or "ROLLBACK" seems not to be
the right way.

Reading in maillist always the ZODB-function "get_transaction", but it
is unreachable in python-script.
"
import ZODB
get_transaction().begin()
"
the result is an attribute-error.

Please tell me how to reach function and /or is the transaction-control
of the database managed from Zope or has to have the programm the
handling?


A.M.