// using the connect string passed in the command line
// arguments.
// Properties props = new Properties();
// props.setProperty( "user", userName );
// props.setProperty( "password", password );
ConnectionFactory connectionFactory = new DriverManagerConnectionFactory( connectURI, userName, password );
// Now we'll create the PoolableConnectionFactory, which wraps
// the "real" Connections created by the ConnectionFactory with
// the classes that implement the pooling functionality.
// PoolableConnectionFactory poolableConnectionFactory =