Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5fp4-00046u-KV for pgsql-jdbc@arkaria.postgresql.org; Thu, 18 Jun 2015 19:50:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z5fp3-0003dq-TC for pgsql-jdbc@arkaria.postgresql.org; Thu, 18 Jun 2015 19:50:01 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z5fp2-0003cB-Uh for pgsql-jdbc@postgresql.org; Thu, 18 Jun 2015 19:50:01 +0000 Received: from smtprelay01.ispgateway.de ([80.67.18.43]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z5fp0-0001gt-0V for pgsql-jdbc@postgresql.org; Thu, 18 Jun 2015 19:49:59 +0000 Received: from [88.66.28.181] (helo=Zauselmaus) by smtprelay01.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1Z5fow-0007Jc-CX for pgsql-jdbc@postgresql.org; Thu, 18 Jun 2015 21:49:54 +0200 From: "Markus KARG" To: References: <000c01d0a7b6$97571ee0$c6055ca0$@eu> <823ac781b677cc2d56a111712d44f682@imap.procolix.com> <006801d0a86b$9cdf95d0$d69ec170$@eu> <002c01d0a93e$d00bb8c0$70232a40$@eu> In-Reply-To: Subject: Re: Pre-processing during build Date: Thu, 18 Jun 2015 21:50:02 +0200 Organization: Markus KARG, Staatl. gepr. Inf. Message-ID: <00da01d0a9ff$f82eddc0$e88c9940$@eu> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdCpkILiMfxLMxmSS2CGZwcNr3/VXgAbsnvg Content-Language: de X-AVK-Virus-Check: AVA 25.1869;71FD75 X-AVK-Spam-Check: 2; str=0001.0A0C0205.558320E2.009F,ss=2,re=0.000,recu=0.000,reip=0.000,cl=2,cld=1,fgs=0; F1206 X-Df-Sender: bWFya3VzQGhlYWRjcmFzaGluZy5ldQ== X-Pg-Spam-Score: -2.6 (--) 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 >Sorry, but you're the one that is wrong, it is not only about actually cal= ling methods with types, it is about the presence or absence of those types= when the JVM does decide to resolve the symbolic reference (eg when you re= flect the declared methods). I am about done with this discussion. I think = the onus is on you to prove this scheme will work, not for us to prove it w= on't work (which we already did). Your prove should not only include simple= direct instance access, but also when using reflection **which is very com= mon with JDBC drivers** (eg connection pools, tools/libraries that bridge d= ifferences in JDBC implementations, etc). I agree that this thread is done, because I already provided a proof that m= y hypothesis works (the link was published yesterday), and my hypothesis ne= ver said that reflection would work. Whether or not reflection is MANDATORY= for JDBC also is a fruitless discussion, as all of you WANT it to be suppo= rted. >It sounds like you want to trade minor complexity in the build/IDE process= for a world of hurt for the users of your driver. I don't think that is a = good way forward. I do not. You fear risks that do not exist if you go 100% with the JDBC spe= cifications words, but I accept that you like to be safe from several uncer= tainties, so it is OK if we skip my idea and go with a different approach -= - even when I am still convinced that it would be correct and working (but = not for things you just WANT to support like reflection). -Markus --=20 Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc