一个数据库连接池的问题:
有什么方法可以知道一个链接connection是属于哪个statement的?
因为当这个connection闲置的时候,要把这个statement也销毁
请问有什么方法?