I am building a web application using tapestry/spring/hibernate based on
appfuse.

During signup process I send an email with a link to verify the email
address and take user automatically to next step to fill another form in the
browser.

When user clicks on the link in email, there is an database update with
email verified flag marked as true and version incremented.

When user click mail link and afterwards submits the next form with his
changes, there is optimistic locking failure thrown since version has been
updated by his clicking mail link in separate browser window.

I want to handle this exception as to merge users changes as well as mark
email verified flag as true.

I don't want to inform user about it since I know already clicking on mail
link updated the version field and hence the conflict with optimistic
locking failure

How to go about it??
Edit/Delete Message Reply With Quote Multi-Quote This Message Quick reply to
this message

-- 
View this message in context: 
http://www.nabble.com/Optimistic-Locking-Failure-Handling-tp17655867s2369p17655867.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to