controller -> service
we are manipulating the domain object in a service . For single user it is working fine.
for multiple user, it throws optimistic locking exception. Even after synchronizing the access of shared object between threads,getting Optimistic Locking very frequently.
what is way to handle this exception.