Re: [Zope] ZSQL Methods and transaction control

robert rottermann <[email protected]>
Newsgroups gmane.comp.web.zope.database
Organization redcor AG
Message-ID <[email protected]>
Charlie Clark wrote:
> Am 10.01.2007, 13:00 Uhr, schrieb robert rottermann <[email protected]>:
>
>> I understand that there is a way to handle transaction control in the
>> ZMySQL methods. However I find no documentation at all on how to use it.
>
> This is incorrect. ZSQL methods are called within Zope transactions so
> you need to look at the transaction manager.
>
> Charlie
>
thanks charlie,

so that means, that the _commit and _abort methods are only for zope's
transaction controll.

do you have a suggestion how then to start/commit a transaction from
within a ZSQL method (or ZMySQLdb)

thanks
robert

_______________________________________________
Zope-DB mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zope-db
robert.vcf (text/x-vcard, 211 B)
begin:vcard
fn:robert  rottermann
n:rottermann;robert 
email;internet:[email protected]
tel;work:031 333 10 20
tel;fax:031 333 10 23
tel;home:031 333 36 03
x-mozilla-html:FALSE
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.