Recycling connections

View: New views
2 Messages — Rating Filter:   Alert me  

Recycling connections

by raulvk.soa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Quick question: what happens when the number of current connections == minPoolSize, but a connection reaches its maxConnectionAge? Does c3p0 close the current connection and immediately after open a new one to preserve the minPoolSize?

Same question for maxIdleTime.

Many thanks!

Re: Recycling connections

by raulvk.soa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


raulvk.soa wrote:
Hi,

Quick question: what happens when the number of current connections == minPoolSize, but a connection reaches its maxConnectionAge? Does c3p0 close the current connection and immediately after open a new one to preserve the minPoolSize?
Or does it merely ignore the refresh trigger?