Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
Дата
Msg-id CADK3HHK2ZDRGUjKCgtNHoD48hkRi8LKtAipTj7y0fAw-OoL1CA@mail.gmail.com
обсуждение исходный текст
Ответ на logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource  ("Eric J. Van der Velden" <ericjvandervelden@gmail.com>)
Список pgsql-jdbc
Can you try making a jar from HEAD, this is probably fixed already

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On 20 January 2015 at 16:22, Eric J. Van der Velden <ericjvandervelden@gmail.com> wrote:
Hello,

In BaseDataSource.initializeFrom fields like logLevel are copied from the PGPoolingDataSource instance to the PGPoolConnectionDataSource instance. But not logLevelSet.

In my app I did,

PGPoolingDataSource ds=new PGPoolingDataSource(); ds.setLogLevel(org.postgresql.Driver.DEBUG);

So ds.logLevelSet=true will be done. But after BaseDataSource.initializeFrom in the PGPoolConnectionDataSource I see that the LogLevel=2, so that's OK, but logLevelSet=false.

Thanks,

Eric J.

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Eric J. Van der Velden"
Дата:
Сообщение: logLevelSet is not going from PGPoolingDataSource to PGPoolConnectionDataSource
Следующее
От: Oussema Benjemaa
Дата:
Сообщение: mapping java objects with postgresql types