| Author |
problem in database connection
|
Joseph Bashir
Ranch Hand
Joined: Jun 16, 2004
Posts: 41
|
|
I am using mysql and hibernate. While running my application, if there is an error or exception thrown, the connection with the database is lost and the connection is not restored until I restart the tomcat. Can somebody please tell me why it happens and how to overcome this problem. Thanks.
|
 |
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
|
|
|
Moving to the Object Relational Mapping Forum
|
Merrill
Consultant, Sima Solutions
|
 |
Scott Johnson
Ranch Hand
Joined: Aug 24, 2005
Posts: 518
|
|
|
Why do you think the database connection is lost? What exception is thrown if you try to execute a select statement?
|
 |
 |
|
|
subject: problem in database connection
|
|
|