-->
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.  [ 2 posts ] 
Author Message
 Post subject: Locking of rows
PostPosted: Wed Nov 10, 2010 7:16 am 
Newbie

Joined: Thu Nov 06, 2008 3:42 am
Posts: 15
Hi,
I have recently developed a simple sales order application. This is hosted on web. Now I want to make sure that only one person is editing one sales order(instance) at one time. If any other user tries to edit I want to show him a message.
Is there any way that hibernate tells that a particular instance is locked or some tihng like that?
My thinking is if Hibernate tells us that it is locked then I can show the message on the UI

Kind Regards,
Sham.


Top
 Profile  
 
 Post subject: Re: Locking of rows
PostPosted: Wed Nov 10, 2010 8:13 am 
Senior
Senior

Joined: Fri Oct 08, 2010 8:44 am
Posts: 130
http://docs.jboss.org/hibernate/stable/ ... Options%29


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

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.