From: | Jeremy Whiting <jwhiting(at)redhat(dot)com> |
---|---|
To: | Matthieu SANCHEZ <msanchez(at)magellanset(dot)com> |
Cc: | Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Connection to PgSQL does not use SSL with JDBC driver 9.4 if the parameter is passed through Properties rather than URL |
Date: | 2016-01-15 14:16:31 |
Message-ID: | 5698FF3F.4000104@redhat.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Matthieu SANCHEZ | 2016-01-15 14:40:55 | Re: Connection to PgSQL does not use SSL with JDBC driver 9.4 if the parameter is passed through Properties rather than URL |
Previous Message | Vladimir Sitnikov | 2016-01-15 14:15:09 | Re: Maven Artifact JDK Suffix |