-->
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: DB Lock Issue with Oracle 8
PostPosted: Wed Apr 18, 2007 5:26 am 
Newbie

Joined: Wed Apr 18, 2007 5:15 am
Posts: 2
Hi
We are using Hibernate in our project to talk to oracle 8 server.
IN our application we are facing the problem of DB locks.

By looking the db statistic if looks like a session is trying to have the row exclusive lock on the table with SELECT sql statement and at the same time other session is trying to obtain the row exclusive lock on the same row with DELETE sql statement.

Due to the above condition we are facing the db dead lock condition. if we kill SELECT statement session then all the DB deadlock get cleared.

Can anybody suggest why hibernate issue lock for select statement? Is hibernate issuing SELECT ... FOR UPDATE statement in case of selec?. If yes then how we control hibernate to stop issuing locks?

Any suggestions

Shaleen


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 19, 2007 3:18 am 
Regular
Regular

Joined: Mon Mar 26, 2007 12:38 am
Posts: 119
Post your code. If not, any answer is likely to be a guess !


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.