Re: postgres CVS Against j2sdk1.4 Failure

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Joe Shevland <jshevland(at)j-elite(dot)com>
Cc: Jim Bowery <jim_bowery(at)hotmail(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: postgres CVS Against j2sdk1.4 Failure
Date: 2002-04-30 01:09:21
Message-ID: 1020128961.2223.5.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Others may have other thoughts, but I don't see any other way besides a
jdbc3 package. There is at least one patch around which has stub
implementations for the jdbc3 methods

Dave
On Mon, 2002-04-29 at 20:32, Joe Shevland wrote:
> J2SDK 1.4 uses the JDBC 3.0 specification, which among other things adds some methods to ResultSet which haven't been implemented in the code... have you got a 1.3 JVM about that you can compile it with? Once compiled, you can still use it under J2SDK 1.4 (of course none of the unimplemented methods will be available).
>
> I'm not sure what the state of play is with implementing the JDBC 3.0 spec though (I think there's a few quick wins we might be able to do, like the method that retrieves the sequence number). What are the developer's thoughts on this, will it follow a similar path and create an org.postgresql.jdbc3 package?
>
> Cheers,
> Joe
>
> > As per David Cramer's direction in
> > http://archives.postgresql.org/pgsql-jdbc/2002-04/msg00173.php I retrieved
> > postgres from CVS so as to compile the jdbc driver under java
> > 1.4. The CVS
> > repository from which I retrieved it was dictated by the statement "The
> > source is included with PostgreSQL, and because it is integrated with
> > PostgreSQL is not available on it's own. Check the main developer site for
> > details of obtaining the PostgreSQL source code from CVS." at
> > http://jdbc.postgresql.org/download.html (ant came out of jwsdp-1_0-ea2).
> >
> > However:
> >
> [snip]
> > $ make
> >
> > Produces the following errors:
> [snip]
> >:60: org.postgresql.jdbc2.ResultSet should be declared abstract;
> > it does not
> > define getURL(int) in org.postgresql.jdbc2.ResultSet
> > [javac] public class ResultSet extends org.postgresql.ResultSet
> > implements java.sql.ResultSet
> > [javac] ^
> > [javac]
> > /home/postgres/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Stat
> > ement.java
> >:25: org.postgresql.jdbc2.Statement should be declared abstract;
> > it does not
> > define getMoreResults(int) in org.postgresql.jdbc2.Statement
> > [javac] public class Statement extends org.postgresql.Statement
> > implements java.sql.Statement
> > [javac] ^
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jim Bowery 2002-04-30 01:24:36 Re: postgres CVS Against j2sdk1.4 Failure
Previous Message Joe Shevland 2002-04-30 00:32:58 Re: postgres CVS Against j2sdk1.4 Failure