pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steven Schlansker <stevenschlansker@gmail.com>
To: Markus KARG <markus@headcrashing.eu>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: SQLJSON
Date: Tue, 30 Jun 2015 13:16:46 -0700
Message-ID: <EE2F8341-FC4A-4E5F-8848-D749EE9F8B67@gmail.com> (raw)
In-Reply-To: <013601d0b370$05ec36a0$11c4a3e0$@eu>
References: <CADK3HH+RBjfo7gp3k-DSZYiZ-qS1BcS-OjG3xAgJhJDHbkgo_Q@mail.gmail.com>
	<CADK3HHJLxgo9BfyhZWn0qcRcEXhe01g9NppOymBScV5wqB=7Pw@mail.gmail.com>
	<000601d0b125$17d3fee0$477bfca0$@eu>
	<CAH7T-arHGk_tyJZkJjubBVmip_FY5NR7xkquVTGwN5FLWxkqnA@mail.gmail.com>
	<558F22BE.5050508@8Kdata.com>
	<CAH7T-aoBTDQncoodf6N4LfdKE7si7oRrNp1FeRjz2wL5UHrV8g@mail.gmail.com>
	<558F377B.7040606@8Kdata.com>
	<CAHL_zcNbBhYh186q6sMdoG59BB8zhW3TG2s_Prnts3yuJzNQRA@mail.gmail.com>
	<558FC12E.8010107@8Kdata.com>
	<000301d0b187$aeb51a30$0c1f4e90$@eu>
	<558FC4E1.7020005@8Kdata.com>
	<001301d0b1b4$7f0862b0$7d192810$@eu>
	<5590458C.3040805@8Kdata.com>
	<002901d0b288$52a8e080$f7faa180$@eu>
	<5591960B.7070406@8Kdata.com>
	<007c01d0b2a3$9614bfe0$c23e3fa0$@eu>
	<5591ADFD.8000304@8Kdata.com>
	<000301d0b2b4$042a41c0$0c7ec540$@eu>
	<5591C898.8090102@8Kdata.com>
	<00ca01d0b351$8eab7ab0$ac027010$@eu>
	<CAB=Je-F-m=e7zF7QxpDwDsokhTYHLYf6CMnu+rmGvF-yFRap+Q@mail.gmail.com>
	<CAB=Je-Gk0Ac5tVj2wfAwtJOyoT=oNAEXwbg3kQk4rqh0bDJ3yQ@mail.gmail.com>
	<5592D0F0.1030705@ 8Kdata.com>
	<533FBFC5-B7F0-4E19-877A-856F4201A987@gmail.com>
	<013601d0b370$05ec36a0$11c4a3e0$@eu>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Sorry, maybe I'm misunderstanding:  my complaint is that if the PG driver packages
version 1.0, but I use a feature added in a hypothetical 1.1, then the 1.0 bundled in
PG becomes a problem for me.

So what I am talking about is *forward* compatibility, not backward.

I'm not claiming this is a huge issue, I just wanted to point out that these
interfaces can and do evolve, so it is a false assumption that the version
baked into the PG driver will be good for all time.


On Jun 30, 2015, at 1:04 PM, Markus KARG <markus@headcrashing.eu> wrote:

> Being a JAX-RS EG member I need to chime in here: JAX-RS actually is fully
> backwards compatible, fully intentionally. We will never break any existing
> feature, and I think I am speaking for hardly every JSR EG when I say that
> most (if not all) JSR standards are always backwards compatible. The 22
> different versions actually are no releases but development milestones not
> intended for productive use.
> 
> All parts of Java EE have a restriction that nothing may break backwards
> compatibility ever. This not only is true of JAX-RS but most certainly also
> JSON-P and JSON-B. It is a guarantee the Java EE spec lead (Bill Shannon)
> gives for all parts of the Java EE platform. So we can really safely rely on
> that.
> 
> -Markus
> 
> On Jun 30, 2015, at 10:25 AM, Álvaro Hernández Tortosa <aht@8Kdata.com>
> wrote:
> 
>> 
>>   Thanks for asking for the double-check. No, indeed I'm still asking to
> provide the class files for the API in the package. I feel that's the right
> way, and I don't see it would create conflicts unless JSR353 would create a
> new version, something which I believe extremely unlikely until it merges
> with Java10 or JDBC5 comes out, point at which we would need to change
> things anyway.
> 
> I do not believe this is as unlikely as you think.  For example, the
> javax.ws.rs JAX-RS spec has 22 different versions available on Maven
> Central.  Granted, many of these are milestone builds and not releases, but
> there are already two major versions, a patch available and a new minor
> version coming through the pipes.
> 
> So assuming these spec jars will not change is provably false.  One of my
> fears is that if PG bundles JSR353 1.0, and I need JSR353 1.0.1, I now need
> to fight the driver packaging to upgrade a theoretically unrelated package.
> 
>> 
>>   However, I don't want to insist more or suck more dev bandwitch, that's
> my opinion and it's been stated more times than I wish, so I would now leave
> the decision to the rest of you :)
>> 
>>   Regards,
>> 
>>   Alvaro
>> 
>> 
>> -- 
>> Álvaro Hernández Tortosa
>> 
>> 
>> -----------
>> 8Kdata
>> 
>> 
>> 
>> On 30/06/15 18:49, Vladimir Sitnikov wrote:
>>> ah. I meant to double-check with Álvaro if he is suggesting compile
>>> type dependency.
>>> 
>>> If he means that we in fact are discussing the same thing, so no
>>> contradiction exists.
>>> 
>>>> However, regarding POLA you say "compile dependency" which means you
>>>> suggest _not_ including javax.json into pgjdbc.jar
>>>> 
>>>> Álvaro , Can you please tell us if "using compile type dependency for
> both
>>>> javax.json and RI" suits you?
>>>> 
>>> Vladimir
>> 
>> 
>> 
>> -- 
>> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-jdbc
> 
> 
> 
> 
> -- 
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc



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



view thread (103+ messages)  latest in thread

Message-ID: <EE2F8341-FC4A-4E5F-8848-D749EE9F8B67@gmail.com>
Permalink:  ../EE2F8341-FC4A-4E5F-8848-D749EE9F8B67@gmail.com/
Also on:    postgresql.org/message-id/EE2F8341-FC4A-4E5F-8848-D749EE9F8B67@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: stevenschlansker@gmail.com, markus@headcrashing.eu
  Subject: Re: SQLJSON
  In-Reply-To: <EE2F8341-FC4A-4E5F-8848-D749EE9F8B67@gmail.com>
  References: <CADK3HH+RBjfo7gp3k-DSZYiZ-qS1BcS-OjG3xAgJhJDHbkgo_Q@mail.gmail.com> <558F22BE.5050508@8Kdata.com> <CAH7T-aoBTDQncoodf6N4LfdKE7si7oRrNp1FeRjz2wL5UHrV8g@mail.gmail.com> <558F377B.7040606@8Kdata.com> <CAHL_zcNbBhYh186q6sMdoG59BB8zhW3TG2s_Prnts3yuJzNQRA@mail.gmail.com> <558FC12E.8010107@8Kdata.com> <000301d0b187$aeb51a30$0c1f4e90$@eu> <558FC4E1.7020005@8Kdata.com> <001301d0b1b4$7f0862b0$7d192810$@eu> <5590458C.3040805@8Kdata.com> <002901d0b288$52a8e080$f7faa180$@eu> <5591960B.7070406@8Kdata.com> <007c01d0b2a3$9614bfe0$c23e3fa0$@eu> <5591ADFD.8000304@8Kdata.com> <000301d0b2b4$042a41c0$0c7ec540$@eu> <5591C898.8090102@8Kdata.com> <00ca01d0b351$8eab7ab0$ac027010$@eu> <CAB=Je-F-m=e7zF7QxpDwDsokhTYHLYf6CMnu+rmGvF-yFRap+Q@mail.gmail.com> <CAB=Je-Gk0Ac5tVj2wfAwtJOyoT=oNAEXwbg3kQk4rqh0bDJ3yQ@mail.gmail.com> <533FBFC5-B7F0-4E19-877A-856F4201A987@gmail.com> <013601d0b370$05ec36a0$11c4a3e0$@eu> <EE2F8341-FC4A-4E5F-8848-D749EE9F8B67@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox