| List: | MySQL and Java | « Previous MessageNext Message » | |
| From: | Lev Verkhovsky | Date: | November 22 2009 4:40am |
| Subject: | mySQL server drops jdbc connections after 8 hours of inactivity - how can I prevent this from happening | ||
| View as plain text | |||
Hi, I have a hibernate-managed c3p0 connection pool of Connector/J connections to a mySQL database and after 8 hours of inactivity the server drops the connections, causing the connections die and throw exceptions when used. What is the best way to prevent this from happening? I need something that is production-strength. Thanks in advance.
| Thread | ||
|---|---|---|
| • mySQL server drops jdbc connections after 8 hours of inactivity - how can I prevent this from happening | Lev Verkhovsky | 22 Nov |
| • Re: mySQL server drops jdbc connections after 8 hours of inactivity- how can I prevent this from happening | Robert Stewart | 22 Nov |
