Hi, I detached an object from a session using evict, removed it from foreign collections pointing to this object, changed one of it's attributes (of course not it's id) I tried several ways of reattaching it to the session to save the changes: - SaveOrUpdate(detachedObject) - Lock(detachedObject, LockMode.None) - Update(detachedObject, detachedObject.Id) It always ends up in NHibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: 5
if I try to merge it, it does not - Merge (detachedObject) session.Contains(detachedObject) keeps returning false. Anybody an idea what possibly causes the problem thanks in advance antoschka --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
