Hi all, I have 2 user instance in a session and after I have update one of it like this
--------------------------------------------------------------------------------------------------- u = session.merge(u) session.commit session.refresh(u) --------------------------------------------------------------------------------------------------- Later, I found that another instance of the same class type in the session's attributes was cleared, and triggered a database query. (I found this because I am using sqlite, which forbids access the same database in more than one thread) I will make some debug to find out what happened. --~--~---------~--~----~------------~-------~--~----~ 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 sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---