-->
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: When does InnoDB usage lock tables ?
PostPosted: Mon Feb 28, 2011 6:30 am 
Newbie

Joined: Mon Dec 15, 2008 7:10 am
Posts: 12
Hello,


I'm investigating a recurring problem of dead locks. I *think* the origin is that a process is frequently locking tables instead of individual rows.

show open tables where in_use > 0

While the process runs I'm almost always getting something for this query.


I'm going to debug manually line-by-line and check for locks at the same time. But it would mightily help is somebody here knows whether there are circumstances Hibernate would cause a table lock instead of locks for individual rows ?

* MySQL 5.x
* Hibernate distribution 3.5.3
* C3P0
* Spring 3.x

TIA !

Jan


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.