-->
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: Row level locking
PostPosted: Sat Sep 20, 2008 2:18 pm 
Newbie

Joined: Sat Sep 13, 2008 5:16 am
Posts: 12
Hi,

I have a distributed web application (same app is running on two different servers). I'm using a MySQL 5.0 database. I would like to be able to aquire a row level lock on the database from my code (to make sure that just one thread at a time have access to a row). Is this possible through Hibernate (Im using JPA and Hibernate)?

-Thanks

_________________
/best regards, HÃ¥kan Jacobsson


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.