Re: Need to use JDK 1.4

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'David Hooker'" <dhooker(at)a4networks(dot)com>, "'Rene Pijlman'" <rene(at)lab(dot)applinet(dot)nl>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Need to use JDK 1.4
Date: 2002-03-15 03:44:52
Message-ID: 018101c1cbd3$c425bcb0$0b01a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

David,

On a *nix machine there is a program patch which when executed with this
diff ie patch < diff then it will apply the patches. The problem is this
patch is old, and will not likely apply with out some manual
intervention.

Regards,

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of David Hooker
Sent: Thursday, March 14, 2002 1:05 PM
To: 'Rene Pijlman'
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] Need to use JDK 1.4

Can someone tell me HOW to apply these patches? I just pulled the
source from cvs, and I need to compile the driver under 1.4. I need the
PostgresqlDataSource and other XA stuff in my jar file.

-----Original Message-----
From: Rene Pijlman [mailto:rene(at)lab(dot)applinet(dot)nl]
Sent: Wednesday, January 09, 2002 5:40 PM
To: David Hooker
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] Need to use JDK 1.4

On Wed, 9 Jan 2002 14:52:55 -0600, you wrote:
>We're working on a project using JDK 1.4. From reading this list's
>archives, I see that there isn't a 1.4 version of the Postgres JDBC
>driver. Is there any way at all that I can use the existing JDBC
>drivers under 1.4???

You can apply the small patch that I posted for review a while ago (see
attachement). This simply adds the missing methods that enable the
driver to be compiled with JDK 1.4.

The problem with that is that the patched code will _not_ compile with
JDK 1.3 and older. I'm working on a better solution which allows us to
maintain one tree with little or no code duplication for all versions of
JDK/JDBC, but this requires reshuffling code into a new class structure
and it will take some time to complete.

>Also, is there a time estimate on when the 1.4 drivers will be ready?

Sorry, not from me :-)

Regards,
René Pijlman <rene(at)lab(dot)applinet(dot)nl>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nick Fankhauser 2002-03-15 13:06:16 Re: maximum java process postgres connections
Previous Message Joe Shevland 2002-03-15 02:37:05 Re: character sets and results