commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Parker <>
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?


-- DAP
David Parker                                        

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message