Thursday, 12 September 2013

How to solve optimistic concurrency update case in JPA

How to solve optimistic concurrency update case in JPA

Is there any way to know when optimistic concurrency problem occurs in JPA
and how to solve it?
Problem description: In my project, when I want to update data in DB but
other user was using it. At that kind of situation, I want to get
DB_STATUS or exception which means "Other user was using..". So that I
want to skip updating DB.

No comments:

Post a Comment