new to the FAQ: http://www.sqlalchemy.org/trac/wiki/ FAQ#FlushError:instancesomeinstanceisanunsavedpendinginstanceandisanorph an
On May 16, 2007, at 3:44 AM, Glauco wrote: > > in a mapper where i've a 1:n relation i've some problem with Tubo > Gears in delete, after the cascade="delete-orphan, all" options, all > times i add a new instance of child this error occours: > > instance <Acl None> is an unsaved, pending instance and is an orphan > (is not attached to any parent 'Operatore' instance via that classes' > 'groups' attribute) > > > If i remove the cascade="delete-orphan, all" option, the insert run > perfeclty. > > > > Thank you > Glauco > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
