-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Concurrency Issue when using JSF with Hibernate
PostPosted: Thu Sep 07, 2006 6:52 am 
Newbie

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.