I have found the issue, it was in my code, and I am going to explain
it here.
Every time I DELETE or UPDATE an entity, in my data layer, I have to
check against the database
that the entity is not "locked", which means it is check-out by
someone else in the application.
This "locked" flag need to be read from the database so I do a SELECT
before UPDATE>
This select, on a temporary entity instance, put a new object with the
same id in the session, and this is the issue.
I just added an Evict() and not it works like a charm!
Sorry to bother you with this silly question

-- 
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.

Reply via email to