hibernate's transaction read and subsequent update
Posted
by feiroox
on Stack Overflow
See other posts from Stack Overflow
or by feiroox
Published on 2010-03-08T16:48:54Z
Indexed on
2010/03/08
16:51 UTC
Read the original article
Hit count: 250
Hi
I have situation in which I read a record from a database. And if everything is ok I'll modify few properties and commit transaction.
But in situations two threads do the same, they will update the same record.
How to make it in hibernate?
© Stack Overflow or respective owner