I delete a given entity, and later in the same session I query using criteria that matches that entity. Despite that it's been deleted, the entity appears in the results. Is that expected NH behavior? I am "fixing" it this problem by calling Flush immediately after the delete. It seems wrong to force a flush to prevent deleted entities from appearing in queries. Is there some other way to handle this scenareo? (BTW: I tried Persist. I think that is not meant for deleted entities, because it threw.)
-- 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.
