commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Parker <da...@logicalmonday.com>
Subject PoolingConnection vs. PoolableConnection in DBCP
Date Mon, 10 Nov 2008 21:39:27 GMT
I am trying to get dbcp running, and I suspect I am doing something  
wrong with my configuration.

I thought that PoolableConnectionFactory would return  
PoolableConnection objects, but looking at the code it returns a  
PoolingConnection. PoolableConnection.close() does what I would expect  
- return itself to the pool, but PoolingConnection.close() actually  
closes the Connection.

Am I looking the wrong place?
Thanks.

aloha

-- DAP
=====================================================
David Parker                                                  david@logicalmonday.com

"If you want sense you'll have to make it yourself"
										- The Dodecahedron







---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message