commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: DBCP - Connection pool size
Date Fri, 14 Aug 2009 00:28:13 GMT
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


Mime
View raw message