Re: [JDBC] jdbc-42.1-4 drop of Compatible property and useObjects - Mailing list pgsql-jdbc

From Jorge Solórzano
Subject Re: [JDBC] jdbc-42.1-4 drop of Compatible property and useObjects
Date
Msg-id CA+cVU8NCcDpRsznciORe7WKx6Wr_wetY4iSGTjx+GxKkLX3uSA@mail.gmail.com
Whole thread Raw
In response to [JDBC] jdbc-42.1-4 drop of Compatible property and useObjects  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Responses Re: [JDBC] jdbc-42.1-4 drop of Compatible property and useObjects
List pgsql-jdbc
Hi Achilleas,

There is no time frame of releases, but
​breaking changes can happen in major releases like 43.0.0, and that can be probably the next year
, and even then, there nothing that stops you of still using 42.x.x, so I guess you have time to plan for a refactor of your code.

Jorge Solórzano

On Mon, Oct 9, 2017 at 12:29 AM, Achilleas Mantzios <achill@matrix.gatewaynet.com> wrote:
Hello All,

I was just trying to test our app with postgresql 10.0 and the new jdbc driver 42.1.4 (since it wasn't working with original jdbc9.3) and I saw that the Compatible property was dropped for jdbc-42.1-4 . We use a lot of code written pre-jdbc 8.3 (which supported only arrays of primitives) , and we always used to set Compatible=8.2 as a work around. Unfortunately we never got the time to update the code. So I changed useObjects=false and recompiled with maven, and this seemed to do the trick.

I know our code is (long) due to be updated, I just wanted to ask how much time we have, i.e. until when will the code for handling the legacy behavior (8.2) be there?

--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt



--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

pgsql-jdbc by date:

Previous
From: Achilleas Mantzios
Date:
Subject: [JDBC] jdbc-42.1-4 drop of Compatible property and useObjects
Next
From: Achilleas Mantzios
Date:
Subject: Re: [JDBC] jdbc-42.1-4 drop of Compatible property and useObjects