[Zope-dev] Documentation on get_transaction().commit(...)
Dieter Maurer
dieter at handshake.de
Thu Sep 7 16:09:27 EDT 2006
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
More information about the Zope-Dev
mailing list