Skip to Content
0
Former Member
Jun 15, 2006 at 07:29 AM

EJB transaction concurrency issue

15 Views

Hi all,

I developed an EJB CMP application. If we have two user (user A and user B), A reads data from Oracle table using a Web Page, the same does B. Then A changes data (and click save button) in the Web page, so update records in the table. Then also B decides to update data, but he wievs old data in the page!!!! This is no good!!!

How can I avoid this big problem? Can I lock record in the table? How?

Thanks a lot,

Vito