On Jun 19, 2007, at 11:08 AM, svilen wrote:
> > g'day > > i have Links, pointing to Nodes. > > Adding just Links to session + flush() works as expected - both Links > and Nodes got saved. > > Doing session.close() although does not always detach all related > objects, i.e. sometimes some Nodes stay with _session_id on them > after session is long gone. > > "for x in mysession: print x" does not print those objects, i.e. they > are not explicitly in the session. > > Is this some intended behaviour, and is there some way to clear > these "cascaded" objects too? i think you should create a test case. also start poking around the source code on this one, Session.clear()/close() are pretty simple, and they shouldnt have to deal with cascading anything. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---