Hi,

I use scoped_session in our project for auto object saving which is
great. But when I initialize a new database I need to flush some
objects with another engine. I could not find a nice way to do that so
I created a new session with it's own engine and merged the objects
into that one and cleared the from my Session object. That worked, but
all their relations are lost and they have a parent child relation.
How to do this?

Sample code uploaded as test_scope.py

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