These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Architecture: Resolving an optimistic locking exception
PostPosted: Wed Aug 13, 2008 1:44 am 
Newbie

Joined: Tue Aug 12, 2008 8:39 pm
Posts: 1
Just looking into what should be done in the event that an optimistic locking exception occurs, and I have not found any great example for handling this case. Thought I would ask to see how others have handled this scenario.

From what I can see there is no Save() method that allows you to force the save and ignore optimistic locking. Or am I incorrect?? If so you would be able to prompt the user to overwrite the other changes or cancel their edits. And if they select overwrite you perform a force save and bypass the locking checks.

Any thoughts?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.