Thread is closed for posting
2 posts, 0 answers
  1. Joebet
    Joebet avatar
    23 posts
    Member since:
    Jun 2010

    Posted 04 Aug 2010 Link to this post

    Good day. May I have some links showing how to deal with concurrency problems? yes i have read a couple of articles but it doest show where to put this and that when and how to use this and that. can we have a sample application that uses all of the concurrency features provided by Opneaccess?

    Added: Also how can i append the version number of a record that i wanted to update? because what the forums says is "OpenAccess ORM uses this method by default for optimistic concurrency control. It uses a version column to detect concurrent updates. The version number is incremented on every update and the previous version number is included in the where clause. This is the fastest and safest optimistic concurrency control mode." I want to try the version optimistic concurrency control. can the telerik team explain where, when and how we can accomplish this? pls provide as a sample project. tnx

    Added: I had found this thread it says on the Lost Update Section that scope2 will product an error. But when i tried to replicate it by setting the trasaction properties of the scope into no_lost_update my second application still continue to commits and no OptimisticVerificationException was thrown. I think this is what we needed in our current project that is to detect if another user were about to update an updated data then prompt the user 2 that another user already updated the data and if user 2 wants to overwrite it displaying all of the modifed data made by the first user againts the second user. Can you provide us a sample Lost Update Section project pls? ive been waiting for a reply for two days and still no luck.. tnx
  2. Damyan Bogoev
    Damyan Bogoev avatar
    581 posts

    Posted 06 Aug 2010 Link to this post

    Hello Joebet,
    1. You could find useful this KB article - “How to: Handle Optimistic Concurrency with OpenAccess” and its related code library example which demonstrates using optimistic concurrency with Telerik OpenAccess ORM. Another useful demo example can be found here.
    2. Could you please provide us with this sample application where this false behavior appears?
    We are looking forward to your reply.

    Damyan Bogoev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top