c3p0pooledconnectionpoolmanager

c3p0pooledconnectionpoolmanager

本文介绍了什么时候C3P0 c3p0pooledconnectionpoolmanager放了第二个authstopools的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我读到C3p0的代码时,我发现C3P0PooledConnectionPoolManager类有一个名为authToPools的字段,用于存储user'info和ConnectionPool映射。似乎多个数据源将创建两个分别具有C3P0PooledConnectionPoolManager的数据。我想知道什么时候C3P0 PooledConnectionPoolManager放入第二个地图值。谢谢你的决定!



我的尝试:



它当我读取c3p0的代码时,多个数据源将分别创建两个数据库,它们分别有C3P0PooledConnectionPoolManager。

when I read C3p0's code ,I discovered C3P0PooledConnectionPoolManager class has a filed called authToPools that store user'info and ConnectionPool map.It seemds that multiple datasource will create two datasoure which have its C3P0PooledConnectionPoolManager respectively. I wanna know when C3P0PooledConnectionPoolManager put the second map value. Thanks for your resoultion!

What I have tried:

It seemds that multiple datasource will create two datasoure which have its C3P0PooledConnectionPoolManager respectively when I read the c3p0's code.

推荐答案


这篇关于什么时候C3P0 c3p0pooledconnectionpoolmanager放了第二个authstopools的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 09:31