Re: Need to use JDK 1.4

From: "David Hooker" <dhooker(at)a4networks(dot)com>
To: "'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-14 18:04:36
Message-ID: 000501c1cb82$b4835f20$6901a8c0@DHOOKER
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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>

Attachment Content-Type Size
patch_1.4b3.ZIP application/octet-stream 3.4 KB

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Stephen Ingram 2002-03-14 21:43:39 Re: maximum java process postgres connections
Previous Message Doug McNaught 2002-03-14 16:05:08 Re: [HACKERS] problems with Tomcat and postgres