Wouldn't a flavor of .save() that always flush()'ed work for this case?

say, Session.persist(obj)

Which would then chase down the relational references and persist the object
graph of that object...and then add the now-persisted object to the identity
map.

...something like a 'mini-flush'.

--~--~---------~--~----~------------~-------~--~----~
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