Sorry,

In the nHibernate session that is :) and yes Session.Lock()
LockMode.Upgrade may be acquired upon explicit user request using
SELECT ... FOR UPDATE on databases which support that syntax.

Kind regards


On 24 jul, 14:18, Kris-I <[email protected]> wrote:
> > To get an exception you have to lock the object in the session, before
> > updating it. Nhibernate standards works in a optimistic locking way.
>
> lock, are you sure ?
> What do you mean "lock the object in the session" ? (It's an ASP.NET app)
>
> Thanks,
--~--~---------~--~----~------------~-------~--~----~
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