Joined: Thu Sep 07, 2006 4:54 am Posts: 1
|
Hi Guys,
I am using JSF with hibernate. And one of my requirement is every time in database I have one record with Deleted column as 0 and other records will be Deleted column as 1.Next time I am saving that Deleted column as 0 will be updated with 1 and newly added record should be as 0.
But when I am opening 2 browsers and saving the data into database I am getting the values Deleted column as 0 as multiple times. So How can I handle the situation for every time to kept only one record as deleted Id as 0.
Thanks & regards
Satish Kumar Cheedalla
|
|