Re: Connection to PgSQL does not use SSL with JDBC driver 9.4 if the parameter is passed through Properties rather than URL

Поиск
Список
Период
Сортировка
От Jeremy Whiting
Тема Re: Connection to PgSQL does not use SSL with JDBC driver 9.4 if the parameter is passed through Properties rather than URL
Дата
Msg-id 5698FF3F.4000104@redhat.com
обсуждение исходный текст
Ответ на Re: Connection to PgSQL does not use SSL with JDBC driver 9.4 if the parameter is passed through Properties rather than URL  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Ответы Re: Connection to PgSQL does not use SSL with JDBC driver 9.4 if the parameter is passed through Properties rather than URL  (Matthieu SANCHEZ <msanchez@magellanset.com>)
Список pgsql-jdbc
On 15/01/16 10:24, Vladimir Sitnikov wrote:
> Hi,
>
> This sounds like a bug.
> Can you file a PR?
> Vladimir
>
>
Hi,
 Take a look at this PR [1]. It fixed a regression released in 1205 release.

 The PR solved the problem of API calls to Driver.setLogLevel(int) not
getting overwritten by a default value being loaded in PgConnection at
line 187 [2].

 It's good this has been raised though and a PR necessary to fix. The
change could go here [3] to adapt to the semantic change of isPresent
method. Now it does not fall back to the default.

Jeremy

[1] https://github.com/pgjdbc/pgjdbc/pull/438
[2]
https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java#L187
[3]
https://github.com/pgjdbc/pgjdbc/blob/master/pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java#L79



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

Предыдущее
От: Vladimir Sitnikov
Дата:
Сообщение: Re: Maven Artifact JDK Suffix
Следующее
От: Matthieu SANCHEZ
Дата:
Сообщение: Re: Connection to PgSQL does not use SSL with JDBC driver 9.4 if the parameter is passed through Properties rather than URL