Re: Postgis example TestAutoregister is not working due to missing getVersion() from pgjdbc community jar

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Cc: Fahar Abbas <fahar(dot)abbas(at)enterprisedb(dot)com>, List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Postgis example TestAutoregister is not working due to missing getVersion() from pgjdbc community jar
Date: 2017-08-04 17:08:22
Message-ID: CADK3HHJwvUjd_x+we4gqvvKTZwAR7FWyBajjaJFTSDqF+FrR0g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Fahar,

Given that the use of this private method is simply to print out the
version of the driver in an example.
https://github.com/postgis/postgis-java/blob/master/jdbc/src/main/java/examples/TestAutoregister.java#L66

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

Dave Cramer

davec(at)postgresintl(dot)com
www.postgresintl.com

On 4 August 2017 at 06:45, Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vladimir Sitnikov 2017-08-04 17:21:56 Re: Postgis example TestAutoregister is not working due to missing getVersion() from pgjdbc community jar
Previous Message Vladimir Sitnikov 2017-08-04 13:45:55 Re: Postgis example TestAutoregister is not working due to missing getVersion() from pgjdbc community jar