Thread: [c3p0-users] c3p0 release database connection question
Status: Beta
Brought to you by:
swaldman
From: Edward K. <zh...@ne...> - 2010-07-05 01:08:00
|
无标题文档I use c3p0 under struts2+hibernate+spring+oracle, during using c3p0, I find a problem,when my program use c3p0,for some reason,my code don't release the database connection and the code end,so c3p0 don't release database connection and keep this connection for a very long time,and database connection may exhaust in a very short time. I want to know whether c3p0 can detect this situation and release these database connection? If c3p0 can do it, how to set c3p0 configure file? Thanks in advance! --------------------------------------------------------------------------------------------------- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --------------------------------------------------------------------------------------------------- |