Re: problem with postgres jdbc driver and Java 1.4.2 sdk

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Olivier Crameri <olivier(dot)crameri(at)netoxygen(dot)ch>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: problem with postgres jdbc driver and Java 1.4.2 sdk
Date: 2004-03-10 00:32:31
Message-ID: 404E621F.2000209@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Olivier Crameri wrote:
> Hi everybody,
>
> Since I've upgraded to Java 1.4.2 on my Mac OSX box, I am having
> extremely strange problem with jdbc drivers.
>
> I am simply trying to update a resultset via update* methods, and I get
> the following exception :
>
> This method is not yet implemented.
> at org.postgresql.Driver.notImplemented(Unknown Source)
> at org.postgresql.jdbc2.UpdateableResultSet.updateInt(Unknown Source)
> at org.postgresql.jdbc2.ResultSet.updateInt(Unknown Source)
> at testPg.<init>(testPg.java:41)
> at testPg.main(testPg.java:51)

This originates from a very old JDBC driver; jdbc2.UpdateableResultSet
and jdbc2.ResultSet were removed on 25 Jul 2002 according to cvsweb.
Try a more recent driver from http://jdbc.postgresql.org (or build your
own from CVS).

If the only thing you've changed is the JDK, check for old versions of
the driver in unexpected places -- perhaps the upgrade changed the
effective classpath being used.

-O

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Wall 2004-03-10 01:26:32 Re: Using auto-commit OFF for transactions - instead of BEGIN
Previous Message Kris Jurka 2004-03-10 00:13:29 Re: problem with postgres jdbc driver and Java 1.4.2 sdk