[Zope-dev] Documentation on get_transaction().commit(...)
Brian Rosenthal
zope-dev at rosenthaltechnologies.com
Thu Sep 7 16:31:14 EDT 2006
Dieter, thanks.
On Thu, 7 Sep 2006 22:09:27 +0200, "Dieter Maurer" <dieter at handshake.de>
said:
> zope-dev at rosenthaltechnologies.com wrote at 2006-9-5 19:10 -0400:
> > ...
> >I am calling get_transaction().commit(1) at various points in my program
> >and it seems like it's not actually committing those transactions.
>
> "commit(1)" commits a subtransaction.
>
> As the name suggests, you have to commit the main transaction
> as well (at some time). You do this by "commit()" (or "commit(0)").
>
>
>
> --
> Dieter
--------------------
Brian Rosenthal
General Partner, RoboCommerce, LLC
brian at robocommerce.com
http://www.robocommerce.com
800-644-7626
More information about the Zope-Dev
mailing list