[sqlalchemy] Re: Objects are stored in DB when nobody asks to do so

2007-12-26 Thread Michael Bayer
On Dec 26, 10:15 am, Denis S. Otkidach [EMAIL PROTECTED] wrote: All modified objects are saved for each transaction and I see no way to control this. Am I right? There is a lot of cases when such behavior in unacceptable. Is it intended or a bug? the way around this depends on what you're

[sqlalchemy] Re: Objects are stored in DB when nobody asks to do so

2007-12-26 Thread Denis S. Otkidach
On Dec 26, 2007 6:29 PM, Michael Bayer [EMAIL PROTECTED] wrote: yet another scenario, you want to use transactions that are independent of session flushes. To accomplish this, use engine- or connection-level transactions, as described in the second half of