Re: DataSource.setMaxConnections() - Does not work

Поиск
Список
Период
Сортировка
От Michael Andreasen
Тема Re: DataSource.setMaxConnections() - Does not work
Дата
Msg-id c752d6bd0909260627lef23db4lc517c58de38b1ea0@mail.gmail.com
обсуждение исходный текст
Ответы Re: DataSource.setMaxConnections() - Does not work  (Kris Jurka <books@ejurka.com>)
Список 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 по дате отправления:

Предыдущее
От: Steve Ebersole
Дата:
Сообщение: Re: JDBC 4 support
Следующее
От: Michael Andreasen
Дата:
Сообщение: DataSource.setMaxConnections() - Does not work