You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by David Hofmann <ho...@gmail.com> on 2009/08/13 23:17:53 UTC

DBCP - Connection pool size

Hi all,

How do I set the max/min connection size pool in the example showed here ?

http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/ManualPoolingDataSourceExample.java?view=co

Thanks !

--
David

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


Re: DBCP - Connection pool size

Posted by Phil Steitz <ph...@gmail.com>.
David Hofmann wrote:
> Hi all,
>
> How do I set the max/min connection size pool in the example showed here ?
>
> http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/ManualPoolingDataSourceExample.java?view=co
>
> Thanks !
>   
Set the properties that you want on the object pool (connectionPool in 
the setupDataSource method).  See the commons pool documentation for the 
names and meanings of the pool parameters.

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


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