dcsimg

How can I get a pooled connection?

John Zukowski

If the DataSource supports pooling connections, calling getConnetion() on the source will return a PooledConnection, instead of a plain Connection. The DataSource will implement ConnectionPoolDataSource.