[sqlalchemy] Re: detached instance or is already persistent in a different Sess

2007-04-19 Thread jose
I solved it using self.record.save_or_update() j Arun Kumar PG wrote: > Looks like you are trying to use objects across different sessions. > > try to do an explicit session.expunge(obj) to the first object > returned before use the object in other session. > > On 4/19/07, *jose* <[EMAIL PRO

[sqlalchemy] Re: detached instance or is already persistent in a different Sess

2007-04-19 Thread Arun Kumar PG
Looks like you are trying to use objects across different sessions. try to do an explicit session.expunge(obj) to the first object returned before use the object in other session. On 4/19/07, jose <[EMAIL PROTECTED]> wrote: > > > hi group, > > I have the following error that I don't know how to s