Re: DataSource.setMaxConnections() - Does not work

From: Michael Andreasen <michael(at)dunlops(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: DataSource.setMaxConnections() - Does not work
Date: 2009-09-26 13:27:24
Message-ID: c752d6bd0909260627lef23db4lc517c58de38b1ea0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)dunlops(dot)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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2009-09-26 13:51:12 Re: DataSource.setMaxConnections() - Does not work
Previous Message Michael Andreasen 2009-09-26 13:25:31 DataSource.setMaxConnections() - Does not work