stevebot
stevebot

Reputation: 24035

C3p0 specify max and min Idle connections

DBCP let's you specify a min and max number for Idle connections See Link

I can't find a similar option in C3p0. I can specify a max and min pool size, but that appears to be it. Is there a way to specify this in C3p0? If not, does anyone know if C3p0 has a default for max/min idle connections, or does it not limit them?

Upvotes: 1

Views: 994

Answers (1)

svaor
svaor

Reputation: 2245

As I know c3p0 limits time before unused connection being expired. This time is configured with maxIdleTime parameter.

Upvotes: 1

Related Questions