I agree with your summary, I also noted that sqlalchemy doesn't really like to have objects that are linked together and in different sessions.
I tried using hash_key = (session.context, name), but this failed in the same way. Loading the code with log statement, I note that some object are loaded not with the UniqueName loader, but probably by sqlalchemy itself. I believe it is those objects that are creating the conflict. Is there a way to hook the sqlalchemy loading system, so I can place the object in the cache? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---