[Zope-DB] transactions

Arenz, Ralph Ralph.Arenz@friatec.de
Tue, 14 Jan 2003 18:17:22 +0100


Hello,

i have a problem with mysql-transaction out of zope.

I tried the transaction-mechanism in a external python 
program via the python DB-API , that work's fine.
==> I used "commit" , "rollback" on the connection-object


If i try to reproduce a transaction-handling in Zope, it fails.
==>I tried the following in a external method and in a dtml-method:
            get_transaction().begin()
            -> call a ZSQL-Method
            get_transaction().abort()

Can anyone enhance my horizon ?            
             

Ralph