On Nov 13, 2007, at 2:00 PM, svilen wrote:

>
> i'm not sure if i am doing proper thing at all.
> Something like i need intermediate flush() to get B in the database
> first; then the insert of A will update that B and expire it
> eventualy.
> i.e. i need to have the B record in the DB in order to have the
> aggregation /update working; else i am updating nothing...
>

OK, look into SessionExtension; you can use it for post-flush hooks. 
  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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