-->
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.  [ 3 posts ] 
Author Message
 Post subject: DB2 and Deadlock
PostPosted: Fri Nov 07, 2003 12:18 pm 
Newbie

Joined: Fri Nov 07, 2003 11:51 am
Posts: 1
I am currently developing a product using Hibernate, DB2 and JBoss and I am experiancing deadlock The difficult part of the problem is that it locks on a various tables at different times. I am using TRANSACTION_REPEATABLE_READ as my transaction isolation level, and Spring Framework utilities to fit into our DAO pattern. Our datamodel is fairly complex and our transactions are fairly long (2-4 sec on current hardware/test env). Short of dumping all of our code on the forum, I just wanted to ask if anybody has had deadlock with db2/hibernate/jboss/spring, and if/how they fixed it.

Thanks,
Aaron

(I understand that this may not be enough information to provide a concrete resolution, I just wanted to get some suggestions for where to look.)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 07, 2003 1:04 pm 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
I do not use DB2 at this time, but it was a very common problem on "old"
DB2 versions and it was caused by uncommited transactions.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 07, 2003 1:12 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Happens all the time.

At the DB2 command prompt type "force application all".


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.