svilen wrote: >somehow u've managed to have 2 copies of same persistent-object - >which should not happen; how did u get it? > > I don't know.
>one has unicode-string '6', another one has int 6 instead - some >conversion failing? > > what is the best way to remove one of them? session.clear(obj), session.expunge(obj) ? jo > > >>Could please, someone tell me what the following error means? >> >>FlushError: Can't change the identity of instance >>[EMAIL PROTECTED] in session (existing identity: (<class >>'sicer.model.fatturazione.Prestazione'>, (6,), None); new identity: >>(<class 'sicer.model.fatturazione.Prestazione'>, (u'6',), None)) >> >> > >> > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---