pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Hernández Tortosa <aht@8Kdata.com>
To: Steven Schlansker <stevenschlansker@gmail.com>
Cc: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Cc: Markus KARG <markus@headcrashing.eu>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: SQLJSON
Date: Tue, 30 Jun 2015 19:48:17 +0200
Message-ID: <5592D661.2050305@8Kdata.com> (raw)
In-Reply-To: <533FBFC5-B7F0-4E19-877A-856F4201A987@gmail.com>
References: <CADK3HH+RBjfo7gp3k-DSZYiZ-qS1BcS-OjG3xAgJhJDHbkgo_Q@mail.gmail.com>
	<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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>


On 30/06/15 19:33, Steven Schlansker wrote:
> 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.

     So this is a matter of beliefs and probabilities :)

     I believe it will not be changed before JDBC5/Java10. And by then, 
we would need to change everything anyway. I may be wrong, of course.

     So let's do a cost analysis: if I were right, we would have done 
the best thing and we would have provided the most user friendly 
solution. If I am not, when that happens (and we will have enough time, 
since JSR is an open process), we will need to provide a new driver 
version, perform the split into two packages and write all the READMEs 
to explain users where/how to get the dependencies.

     If, instead, we opt now for betting on JSR353 evolution, we would 
need to create a new driver version, perform the split into packages and 
write the READMEs.

     In other words: if my bet is correct, we save some work and make 
life easier for the users. If I am wrong, we will end up doing the same 
work --although later on.

     So unless I am missing something, cost analysis IMHO suggests to 
bet on not having to do the change ;)

     Regards,

     Álvaro


-- 
Álvaro Hernández Tortosa


-----------
8Kdata



>
>>     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



view thread (103+ messages)  latest in thread

Message-ID: <5592D661.2050305@8Kdata.com>
Permalink:  ../5592D661.2050305@8Kdata.com/
Also on:    postgresql.org/message-id/5592D661.2050305@8Kdata.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: aht@8Kdata.com, stevenschlansker@gmail.com, sitnikov.vladimir@gmail.com, markus@headcrashing.eu
  Subject: Re: SQLJSON
  In-Reply-To: <5592D661.2050305@8Kdata.com>
  References: <CADK3HH+RBjfo7gp3k-DSZYiZ-qS1BcS-OjG3xAgJhJDHbkgo_Q@mail.gmail.com> <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> <5592D661.2050305@8Kdata.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