How to shutdown connection pool on context unload?

前端 未结 1 1601
旧时难觅i
旧时难觅i 2020-12-17 23:41

after developing several webapps that all had a similar setup with spring, hibernate and c3p0 as connectionpool I wanted to investigate a problem that i noticed everytime: C

相关标签:
1条回答
  • 2020-12-18 00:07

    Have you tried to specify the destroy-method?

    <bean class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
    
    0 讨论(0)
提交回复
热议问题