> http://www.sqlalchemy.org/trac/wiki/ > FAQ#FlushError:instancesomeinstanceisanunsavedpendinginstanceandisanorph > an
I think this is not Andreas an I too are searching to explain. The documentation is correct, and infact in tg-admin all go perfeclty.. but when the same example is gone from TG this error occurs. I'm speaking of: mapper(Parent, sometable, properties={ relation(Child, cascade="all, delete-orphan") }) p = Parent.select()[0] c = Child() p.child.append ( c ) session.save(c) session.flush() Glauco --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---