pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC 4 Compliance
Date: Mon, 24 Jun 2013 17:47:06 -0700
Message-ID: <51C8E88A.4060803@hogranch.com> (raw)
In-Reply-To: <D898C0E7-B1ED-4230-9189-5743D6C8519B@me.com>
References: <24064BE7-766E-4B4A-923D-C22771D06D35@me.com>
	<CADK3HHKLY4XAojuRei6EnNd2z-YLS7ZO3996g04hzKNGdVzwHA@mail.gmail.com>
	<51C72336.4090806@ttc-cmc.net>
	<CADK3HHKAfhQ0j6Rt3EXyB+U6-hoaahCuE7+SQ--6WPo06LUw1g@mail.gmail.com>
	<A2B35D2698B0C74F9B8333525E67ED013668AC43@plindyexch02.polarislabs.lan>
	<CADK3HH+z8xKTZaQ2ZCtSzc4tf8h3hmq7K6stqCSe2ncH6zxvRg@mail.gmail.com>
	<51C8890F.2040403@polarislabs.com>
	<CADK3HHLoUNT1yv2HHE8uyW5=Vhr6jpc6=HPWVi-q6Osijt+sUw@mail.gmail.com>
	<1005C726-9CB7-4E6E-95B0-A899BEC42D4D@me.com>
	<CADK3HHJ4oKrZ8vHF7uKAWED5ypHUpQ1Qn_rNGaNsLoaCjVg2Sg@mail.gmail.com>
	<1372108541987-5760763.post@n5.nabble.com>
	<D898C0E7-B1ED-4230-9189-5743D6C8519B@me.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On 6/24/2013 4:18 PM, Kevin Wooten wrote:
> Second, porting my implementation back to Java 5/6 and/or PostgreSQL 
> servers prior to 9.2.  The current driver has lots of special case 
> code for servers and now JDK’s that have been EOL’d.  My project 
> implementation currently has none, it runs on JDK 7/JDBC 4.1 and 
> Postgres >= 9.2.  I believe there is a more elegant way to handle 
> these cases going forward than the option used in the mainstream 
> project of abstract/concrete classes for each JDBC version. I think 
> JDBC differences should be handled with the maven pre-processor plugin 
> to conditionally compile for each JDBC. Server differences can still 
> use special case code and/or polymorphic classes to address the 
> problem/feature at hand.

speaking as a user and system administrator, I would NOT want to need to 
use different JAR files for each {jvm,postgres} version. that would be a 
nightmare.

we have a LOT of systems in our manufacturing operations that are 
running older versions of {os, postgres, jvm} for various reasons, not 
the least of which is upgrades often break things in very non-obvious ways.

-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast



-- 
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 (76+ messages)  latest in thread

Message-ID: <51C8E88A.4060803@hogranch.com>
Permalink:  ../51C8E88A.4060803@hogranch.com/
Also on:    postgresql.org/message-id/51C8E88A.4060803@hogranch.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: pierce@hogranch.com
  Subject: Re: JDBC 4 Compliance
  In-Reply-To: <51C8E88A.4060803@hogranch.com>
  References: <24064BE7-766E-4B4A-923D-C22771D06D35@me.com> <CADK3HHKLY4XAojuRei6EnNd2z-YLS7ZO3996g04hzKNGdVzwHA@mail.gmail.com> <51C72336.4090806@ttc-cmc.net> <CADK3HHKAfhQ0j6Rt3EXyB+U6-hoaahCuE7+SQ--6WPo06LUw1g@mail.gmail.com> <A2B35D2698B0C74F9B8333525E67ED013668AC43@plindyexch02.polarislabs.lan> <CADK3HH+z8xKTZaQ2ZCtSzc4tf8h3hmq7K6stqCSe2ncH6zxvRg@mail.gmail.com> <51C8890F.2040403@polarislabs.com> <CADK3HHLoUNT1yv2HHE8uyW5=Vhr6jpc6=HPWVi-q6Osijt+sUw@mail.gmail.com> <1005C726-9CB7-4E6E-95B0-A899BEC42D4D@me.com> <CADK3HHJ4oKrZ8vHF7uKAWED5ypHUpQ1Qn_rNGaNsLoaCjVg2Sg@mail.gmail.com> <1372108541987-5760763.post@n5.nabble.com> <D898C0E7-B1ED-4230-9189-5743D6C8519B@me.com> <51C8E88A.4060803@hogranch.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