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

From Michael Andreasen
Subject Re: DataSource.setMaxConnections() - Does not work
Date
Msg-id c752d6bd0909260627lef23db4lc517c58de38b1ea0@mail.gmail.com
Whole thread Raw
Responses Re: DataSource.setMaxConnections() - Does not work  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Even though I set it at 3, if I look on the server I can see many more connections have been made?


On Sat, Sep 26, 2009 at 2:25 PM, Michael Andreasen <michael@dunlops.com> wrote:
Hi,

Using version: 8.3-605.jdbc3

DataSource.setMaxConnections() does not work.

I create my datasource as such;
dataSource = new PGPoolingDataSource();
        dataSource.setServerName("10.44.73.50");
        dataSource.setDatabaseName("ops");
        dataSource.setUser("postgres");
        dataSource.setPassword("postgres");
        dataSource.setMaxConnections(3);

--
Regards,
Michael Andreasen
Senior Analyst / Developer



--
Regards,
Michael Andreasen
Senior Analyst / Developer

pgsql-jdbc by date:

Previous
From: Steve Ebersole
Date:
Subject: Re: JDBC 4 support
Next
From: Michael Andreasen
Date:
Subject: DataSource.setMaxConnections() - Does not work