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

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: Dave Cramer <pg(at)fastcrypt(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:42:19
Message-ID: CAB=Je-HJwX8U7SJGUv9qMTDjSNnNkGPTNepjQi80hO4cQ7krUw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

>If we are going to make methods public then we are sort of publishing a
contract and we can't just go about removing them.

So we should invent the contract.

The "problem" with current Driver#getMajorVersion/getMinorVersion is the
methods return just int, and they do not have a room for a full version
(e.g. JRE variation).

Vladimir

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jorge Solórzano 2017-08-04 18:27:05 Re: Postgis example TestAutoregister is not working due to missing getVersion() from pgjdbc community jar
Previous Message Dave Cramer 2017-08-04 17:36:21 Re: Postgis example TestAutoregister is not working due to missing getVersion() from pgjdbc community jar