[Zope] Managing transactions manually

Andrius Armonas andrius at soften.ktu.lt
Thu Jan 29 16:42:11 EST 2004


Hi,

I've recently started using Zope with ZMySQLDA adapter. What I've
noticed was that database adaptor automatically begins and commits
transactions.

What I need is manually start transaction while rendering some page (for
example select ... for update), continue that transaction while
rendering some other pages and then commit or rollback that transaction.
How that should be done in Zope if it commits transactions
automatically?

I'm using Zope 2.6 and ZMySQLDA 2.0.8.

Thanks.

Andrius Armonas




More information about the Zope mailing list