Re: patch to fix jdk 2 compile errors and v2 compatability

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: patch to fix jdk 2 compile errors and v2 compatability
Date: 2005-07-08 14:25:00
Message-ID: 42CE8CBC.4030000@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dave Cramer wrote:

> Yes it could actually, although, I'd like to separate the knowledge of
> CallableStatement differences somewhere else.

If you mean JDBC2 vs JDBC3 differences, that's what
AbstractJdbc3Statement is for, surely?

> I agree there's no reason
> for duplicate code though. On the other hand, only one of these classes
> ever gets compiled.

It is a maintenance issue, not a code size / compilation issue. If you
have two copies of the "same" code, you have to keep them in sync by
hand, which is asking for trouble.

-O

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2005-07-08 15:40:13 Re: patch to fix jdk 2 compile errors and v2 compatability for review
Previous Message Dave Cramer 2005-07-08 13:15:23 Re: patch to fix jdk 2 compile errors and v2 compatability for review