Hi,

I saw in an earlier post that you implemented concurrency in the Formspider online IDE. In the online IDE i see a new field 'Concurrency Column' available when creating a datasource based on a table.

Can you explain a bit how the concurrency check is implemented and how and when to use this 'Concurrency Column' ?

Thanks, Michiel

asked 05 Mar '12, 01:11

Michiel%20A's gravatar image

Michiel A
5161544
accept rate: 13%


Hi Michiel,

Formspider uses optimistic locking. In other words, it allows users to edit any data but on commit it warns the user that the data he updated was changed by another person while he was editing it.

This is the more common form of locking in web applications. Since database connections are shared among user sessions, it is not possible to have a database lock on a row. This also prevents user from locking rows longer than they should.

We will add a concurrency tutorial explaining how to implement concurrency in a Fomspider application by tomorrow. You will see the answer of your question in this tutorial.

link

answered 05 Mar '12, 02:06

Ugur%20Kocak's gravatar image

Ugur Kocak ♦
5616
accept rate: 23%

Hi Ugur,

That will be great, thanks.

Michiel

link

answered 05 Mar '12, 02:30

Michiel%20A's gravatar image

Michiel A
5161544
accept rate: 13%

Hi Michiel,
You can see how to implement concurrency in a Fomspider appliaction in tutorial Concurrency Control Mechanism

We are looking forward to your feedback

Regards
Ugur

link

answered 06 Mar '12, 04:12

Ugur%20Kocak's gravatar image

Ugur Kocak ♦
5616
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4

Asked: 05 Mar '12, 01:11

Seen: 2,364 times

Last updated: 06 Mar '12, 04:12


© Copyright Gerger 2017