Re: DataSource.setMaxConnections() - Does not work - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: DataSource.setMaxConnections() - Does not work
Date
Msg-id alpine.BSO.2.00.0909260949001.2098@leary.csoft.net
Whole thread Raw
In response to Re: DataSource.setMaxConnections() - Does not work  (Michael Andreasen <michael@dunlops.com>)
List pgsql-jdbc

On Sat, 26 Sep 2009, Michael Andreasen wrote:

> Even though I set it at 3, if I look on the server I can see many more
> connections have been made?

The three connection limit is the most the datasource will open for you,
but it cannot prevent other people/processes from opening other
connections to the server.  If you really believe all of these are being
opened by the datasource, perhaps you really have many instances of the
datasource, each of which will open up to three connections.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Michael Andreasen
Date:
Subject: DataSource.setMaxConnections() - Does not work
Next
From: Kris Jurka
Date:
Subject: Re: [BUGS] BUG #5058: [jdbc] Silent failure with executeUpdate()