commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Parker <da...@logicalmonday.com>
Subject Re: PoolingConnection vs. PoolableConnection in DBCP
Date Mon, 10 Nov 2008 21:48:00 GMT
Oh, didn't notice that PoolableConnectionFactory WRAPS a  
PoolingConnection with a PoolableConnection.... Still don't understand  
why my Connections are getting closed ;-(

On Nov 10, 2008, at 4:39 PM, David Parker wrote:

> 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
>

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