[Zope-dev] Re: could zope.sqlalchemy flush before committing?
Brandon Craig Rhodes
brandon at rhodesmill.org
Fri Jul 18 11:57:54 EDT 2008
Brandon Craig Rhodes <brandon at rhodesmill.org> writes:
> I complained recently about problems with things disappearing from an
> in-memory sqlite database. It appears that my problems were actually
> symptoms of something else: that, so far as I can see, doing a
>
> transaction.commit()
>
> when SQLAlchemy is active does *not* first do a session().commit()!
Drat. I meant, as I hope the code examples that followed made clear,
that doing a "transaction.commit()" does not do a session().flush().
--
Brandon Craig Rhodes brandon at rhodesmill.org http://rhodesmill.org/brandon
More information about the Zope-Dev
mailing list