// actual pool of connections.
//
// We'll use a GenericObjectPool instance, although
// any ObjectPool implementation will suffice.
//
GenericObjectPool connectionPool = new GenericObjectPool(null);
connectionPool.setMinIdle(minIdle);
connectionPool.setMaxActive(maxActive);
ConnectionManager._pool = connectionPool;
// we keep it for two reasons
// #1 We need it for statistics/debugging
// #2 PoolingDataSource does not have getPool()