Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9ze7-0007R8-J0 for pgsql-jdbc@arkaria.postgresql.org; Tue, 30 Jun 2015 17:48:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Z9ze6-0001yi-Km for pgsql-jdbc@arkaria.postgresql.org; Tue, 30 Jun 2015 17:48:34 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z9ze5-0001yW-NO for pgsql-jdbc@postgresql.org; Tue, 30 Jun 2015 17:48:33 +0000 Received: from mail-wi0-f179.google.com ([209.85.212.179]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Z9ze2-0005Nr-9b for pgsql-jdbc@postgresql.org; Tue, 30 Jun 2015 17:48:31 +0000 Received: by widjy10 with SMTP id jy10so37020582wid.1 for ; Tue, 30 Jun 2015 10:48:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=wiZjigSHoGbSgIUy/UsgPfHP2abw6XHCtsy24CmBcLU=; b=RXnI2lb2Fm+Xa8l+o07j+YAyd1ndJQUywuRUIPJbuLmd+M+6Gpz7fpCpXIqBkBwAmp GulPPh6vqMQyTYcmvl8ANywq4LtxtjUf0cGVDiLnEm75JDA4P/bBDxGWaCIJtaHKNINm Fs1sF8VBNmoaUqKe4XjLSZQkS7IDHryTrPRhJA528ip22fzJWeJedjrOYgUdrzElTMCA SxqmOmUy5xF4g+D3nxP0FZO6oAH4KkFthORhGVreWes8+MtTF7EtSHm+ATSt3S9p4Cc/ 5MidBxZ2NQb1sqfZgp0QItNSGZffHH/+UsZKLEHE4ILXxksQUJxaMQCnBLpN0wiJGiGw fPuQ== X-Gm-Message-State: ALoCoQmjr7HQuZHWgNe7c9A5zKhPOb+Q4Mx7sIH9VJo5oxO9wgwNBvV5a4VlbFDHjIcKkOMnJgNN X-Received: by 10.180.99.39 with SMTP id en7mr36022072wib.31.1435686508449; Tue, 30 Jun 2015 10:48:28 -0700 (PDT) Received: from [192.168.1.5] ([46.27.58.212]) by mx.google.com with ESMTPSA id y19sm18028345wia.15.2015.06.30.10.48.22 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Jun 2015 10:48:27 -0700 (PDT) Message-ID: <5592D661.2050305@8Kdata.com> Date: Tue, 30 Jun 2015 19:48:17 +0200 From: =?ISO-8859-1?Q?=C1lvaro_Hern=E1ndez_Tortosa?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Steven Schlansker CC: Vladimir Sitnikov , Markus KARG , List Subject: Re: SQLJSON References: <558F22BE.5050508@8Kdata.com> <558F377B.7040606@8Kdata.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> <5592D0F0.1030705@8Kdata.com> <533FBFC5-B7F0-4E19-877A-856F4201A987@gmail.com> In-Reply-To: <533FBFC5-B7F0-4E19-877A-856F4201A987@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -0.3 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org On 30/06/15 19:33, Steven Schlansker wrote: > On Jun 30, 2015, at 10:25 AM, Álvaro Hernández Tortosa 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