Re: [JDBC] Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: [JDBC] Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar
Date
Msg-id CADK3HHJwvUjd_x+we4gqvvKTZwAR7FWyBajjaJFTSDqF+FrR0g@mail.gmail.com
Whole thread Raw
In response to Re: [JDBC] Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Responses Re: [JDBC] Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Re: Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
List pgsql-jdbc
Fahar,

Given that the use of this private method is simply to print out the version of the driver in an example.

I think it would be appropriate if the code in the example was changed as soon as possible. 

It has been re-added as deprecated so you can expect it to be removed again in the future.

Thanks


On 4 August 2017 at 06:45, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> wrote:
>Kindly let us know if this is expected behavior or not or we are
planning to fix in next pgjdbc release?

I've reintroduced Driver.getVersion, and it will come as a part of pgjdbc 42.1.5 in a couple of weeks or so.


Vladimir

pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: Re: [JDBC] Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar
Next
From: Vladimir Sitnikov
Date:
Subject: Re: Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar