How to Handle the Concurrent User Operation in JDBC

Here I am updating a table base on flag field. Here I am facing concurrent user problem. Please anybody can tell me how to handle this. If anybody update a row. it should be reflect to other sessions
[213 byte] By [b_saravan] at [2007-9-30 11:49:53]
# 1

Make sure you are calling Connection.commit() after your update. If you are still having problems, you may need to tweak the isolation level.Different vendors have different default settings.

You could add more details to your post, like database you are using, and the errors you are seeing.

http://www.jguru.com/faq/view.jsp?EID=59102

-Scott

http://www.swiftradius.com

Scott_MacIntosh at 2007-7-4 13:35:00 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...