阅读背景:

如何跟踪未关闭的孤立JDBC连接?

来源:互联网 

We've found a bug in old code where connections aren't being closed. It's an easy fix, but I'm wondering how we go about proving that it's fixed. There is a choice of using a connection pool or not. For the pooling use it would be easy to add monitoring for the pool, but when connections pooling is not used, how do we track those unclosed, orphaned connections? Is it just like any other memory leak?We've found a bug in old code where connections




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: