From: Markus KARG <markus@headcrashing.eu>
To: pgsql-jdbc@postgresql.org
Subject: Re: Pre-processing during build
Date: Thu, 18 Jun 2015 21:50:02 +0200
Message-ID: <00da01d0a9ff$f82eddc0$e88c9940$@eu> (raw)
In-Reply-To: <a30da0768fe780c16038bb5fd6868bed@imap.procolix.com>
References: <000c01d0a7b6$97571ee0$c6055ca0$@eu>
<823ac781b677cc2d56a111712d44f682@imap.procolix.com>
<006801d0a86b$9cdf95d0$d69ec170$@eu>
<ea9de8b3ef7045865a385e7ec97d12d8@imap.procolix.com>
<002c01d0a93e$d00bb8c0$70232a40$@eu>
<a30da0768fe780c16038bb5fd6868bed@imap.procolix.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
>Sorry, but you're the one that is wrong, it is not only about actually calling 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 reflect 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 won't work (which we already did). Your prove should not only include simple direct instance access, but also when using reflection **which is very common with JDBC drivers** (eg connection pools, tools/libraries that bridge differences in JDBC implementations, etc).
I agree that this thread is done, because I already provided a proof that my hypothesis works (the link was published yesterday), and my hypothesis never 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 supported.
>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 specifications words, but I accept that you like to be safe from several uncertainties, 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
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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: markus@headcrashing.eu
Subject: Re: Pre-processing during build
In-Reply-To: <00da01d0a9ff$f82eddc0$e88c9940$@eu>
References: <000c01d0a7b6$97571ee0$c6055ca0$@eu> <823ac781b677cc2d56a111712d44f682@imap.procolix.com> <006801d0a86b$9cdf95d0$d69ec170$@eu> <ea9de8b3ef7045865a385e7ec97d12d8@imap.procolix.com> <002c01d0a93e$d00bb8c0$70232a40$@eu> <a30da0768fe780c16038bb5fd6868bed@imap.procolix.com> <00da01d0a9ff$f82eddc0$e88c9940$@eu>
* 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