All,

I need to disable optimistic lock checking during the life-time of the open 
session on all my entities when I update any of the entities.

All my entities are configured to use Version (auto-incremented by 
hibernate) for optimistic locking. This works great and is used by the 
website but for our desktop app it doesn't make sense to do it for various 
reasons,- it just creates user frustration to see stale data exception. 
Therefore, I need optimistic locking off for the desktop app. I am asking 
this because I want to share the code of my mapped entities in my desktop 
app and the mapping is done using attributes on the POCO.

Any suggestions?

lk

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to