On Feb 4, 2008, at 8:01 AM, Felix Schwarz wrote:

>
>
> Thank you very much for your reply - lightning fast as always :-)
>
> Gaetan de Menten schrieb:
>> Other than that, maybe you are (or Turbogears is)
>> starting a transaction somewhere (with session.begin()) without ever
>> commiting it?
>
> Thanks for your hint. Indeed I used session.begin() after my  
> session.flush()
> and obviously did not cause a COMMIT (why?) although there were  
> objects to save.
>

session.begin() needs to be paired with session.commit().  The  
commit() will do a flush() automatically. 
  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to