-->
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: "Hanging" query after physical disconnect of datab
PostPosted: Wed Feb 01, 2006 6:15 pm 
Newbie

Joined: Wed Feb 11, 2004 9:57 am
Posts: 5
This may be off topic and if so I apologize.

The problem we have is that if we disconnect the database physically and then perform a query it just hangs. Nothing happens for a very long time. If we wait a couple of minutes (the first query still hanging) and run another query we immediately get an exception (as expected). If we take down the db normally it also works fine (with an exception that is). What have we done wrong? Any ideas?

Hibernate version:
3.1

Name and version of the database you are using:
MySQL 4.1.x

Other:
Using DBCP for connection pooling, Tomcat 5.5.x, Java 5, Redhat Linux Enterprise

Once again sorry if it's off topic (didn't really know where to ask...)

/Marcus


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.