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

From Vladimir Sitnikov
Subject Re: [JDBC] Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar
Date
Msg-id CAB=Je-HJwX8U7SJGUv9qMTDjSNnNkGPTNepjQi80hO4cQ7krUw@mail.gmail.com
Whole thread Raw
In response to Re: [JDBC] Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: [JDBC] Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar  (Jorge Solórzano <jorsol@gmail.com>)
Re: Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar  (Jorge Solórzano <jorsol@gmail.com>)
List 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

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: [JDBC] Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar
Next
From: Jorge Solórzano
Date:
Subject: Re: [JDBC] Postgis example TestAutoregister is not working due tomissing getVersion() from pgjdbc community jar