I believe you're looking for minIdle configuration property. Find more
configuration details @ http://commons.apache.org/dbcp/configuration.html

Regards,
Stevo.

On May 9, 2011 8:23 PM, "Fernando O." <fot...@gmail.com> wrote:

Hi all
   I'm trying to migrate from C3p0 to dbcp and it looks like some (a lot
of?) things are different. one of the more important problems im facing is
that it looks like I can't specify a minimum amount of connections in the
pool. so if I run a kill test, after initializing the pool with say 10
connections I see only 1 connection, no other connection gets created

is there a way to get my 10 connections back without specifying
"autoreconnect " in the jdbc url?

Reply via email to