Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the 
discussion

"Re: simultaneous database updates thru webinterface"

To view the discussion, visit: https://community.jboss.org/message/804447#804447

--------------------------------------------------------------
Hello Olena,
welcome to the forum.

If I understand your requremntes correct, this is a common problem.
You might set a lock first (pessimistic) and block other clients.
Or you use a 'version counter' and check the counter before you change (in the 
same transaction).

The second approach is better as it will not block other and if the browser or 
connetion fail you must not cleanup the lock.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804447#804447]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to