Re: JDBC driver - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: JDBC driver
Date
Msg-id 4214F2AE.1090706@opencloud.com
Whole thread Raw
In response to JDBC driver  ("Wong, RYM (Richard)" <R.Y.M.Wong@rl.ac.uk>)
List pgsql-jdbc
Wong, RYM (Richard) wrote:
> It is part of the postgresql-7.4.3 package.
> When I run the config command with the flag '--with-java' and then run 'gmake', the whole
> suite of jdbc is generated automatically.
> I suppose the full version of jdbc is 7.4.3.

Ah, ok.

This is very old code. It predates 1.5 and so it's not too suprising
that it doesn't build under 1.5. I suggest you build from source
available at jdbc.postgresql.org or use a prebuilt jar from the same
location. Don't pass --with-java to avoid trying to build the driver
provided with 7.4.3 (that flag only triggers the driver build -- it does
not change how the server or client utils are built).

I'd also suggest you use the latest 7.4.x server, not 7.4.3. There are
data-loss bugs that have been fixed since 7.4.3.

-O

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: pst.setNull(2, Types.BLOB)
Next
From: "Matt Magoffin"
Date:
Subject: Statement setNull for Types.CLOB