Concurrency question


Author
Message
Ben Hayat
Ben Hayat
StrataFrame User (430 reputation)StrataFrame User (430 reputation)StrataFrame User (430 reputation)StrataFrame User (430 reputation)StrataFrame User (430 reputation)StrataFrame User (430 reputation)StrataFrame User (430 reputation)StrataFrame User (430 reputation)StrataFrame User (430 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
I first summarize my question then follow it with more detail.

When SF is saving an updated record, does it write back every column of the record or only those columns that were affected.



User1 opens customers 1020 to update the email address of the customer. While she is on the phone with the customer [and has not pressed the save button yet], another process in the system [say invoicing] updates the customer balance. (Optimistic Concurrency).



User finishes with the customer and presses the save button:

a) Does SF write back ONLY Email column back without affecting the new balance?

b) Does SF write back the WHOLE record back and putting the old Balance to the database?

c) Or does SF raise an error that the record has been changed since it was originally read?



if C, then what action is left for the end user to take to make sure the balance is not affected and still the email is updated too?

Is it something that the SF has a built-in in the data access layer or do we (as the developer) have to take action for every update situation?



Thanks!


..ßen
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Ben Hayat - 17 Years Ago
StrataFrame Team - 17 Years Ago
Ben Hayat - 17 Years Ago
StrataFrame Team - 17 Years Ago
                     Excellent! Man I think I'm getting to like this product :)
Ben Hayat - 17 Years Ago
                         Ben (Strata), take a look at this post. It describes how to control...
Greg McGuffey - 17 Years Ago
                             Of course it would help if I actually posted the link! :blush:
...
Greg McGuffey - 17 Years Ago
                                 Greg, your input is much appreciated. I think the time is coming where...
Ben Hayat - 17 Years Ago
                                     A great idea. I was just thinking something like this earlier today,...
Greg McGuffey - 17 Years Ago
                                         [quote]I'd suggest posting in the enhancement area. This would let...
Ben Hayat - 17 Years Ago
Bradley Marston - 17 Years Ago
Trent L. Taylor - 17 Years Ago
Bradley Marston - 17 Years Ago
Bradley Marston - 17 Years Ago
StrataFrame Team - 17 Years Ago
Bradley Marston - 17 Years Ago
Bradley Marston - 17 Years Ago
StrataFrame Team - 17 Years Ago
Bradley Marston - 17 Years Ago
StrataFrame Team - 17 Years Ago
Richard Keller - 17 Years Ago
Greg McGuffey - 17 Years Ago
Richard Keller - 17 Years Ago
Greg McGuffey - 17 Years Ago
Steve L. Taylor - 17 Years Ago
Greg McGuffey - 17 Years Ago
Richard Keller - 17 Years Ago
StrataFrame Team - 17 Years Ago
Richard Keller - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search