Puts pool-specific wrappers on factory connections. For clarification:
"[PoolableConnection]Factory," not "Poolable[ConnectionFactory]."
*/
// This declaration is used implicitly.
//noinspection UnusedDeclaration
final PoolableConnectionFactory pcf = new PoolableConnectionFactory(factory, // ConnectionFactory
pool, // ObjectPool
null, // KeyedObjectPoolFactory
validQuery, // String (validation query)
false, // boolean (default to read-only?)
true // boolean (default to auto-commit statements?)