On Jan 4, 2008, at 7:44 AM, Dave Harrison wrote:
> > On Friday 04 January 2008 23:32:21 Alexandre da Silva wrote: >>> Is there an easy way of flushing all objects that are categorised >>> as new in the session ?? >> >> I think you can use session.clear(), it will remove objects from >> session, and persistent objects will stay on database. >> >> Att >> >> Alexandre > > I had been using session.clear up until now, but as of 0.4.2 I've > found that I get this error for alot of my tests, > > object has no attribute '_sa_session_id' thats a bug. can you please provide a reproducing test case ? this is actually pretty serious and a new release will be available the moment we fix this. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---