Re: JDBC does not compile

From: Dave Cramer <dave(at)fastcrypt(dot)com>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: JDBC does not compile
Date: 2002-07-29 09:28:26
Message-ID: 1027934907.921.18.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Make sure you have a clean copy of the source, Barry has done an
extensive re-organization to remove the duplicate code between jdbc1,
and jdbc2, to prepare for jdbc3.

It compiles clean on my machine using jdk1.3.1

Dave
On Sun, 2002-07-28 at 22:12, Tatsuo Ishii wrote:
> It seems JDBC in current does not compile with jdk1.3.0. Is this a
> intended change or am I missing something?
>
>:
>:
> [javac] /usr/local/src/pgsql/current/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Jdbc2ResultSet.java:13: getStatement() in org.postgresql.jdbc2.AbstractJdbc2ResultSet cannot implement getStatement() in java.sql.ResultSet; attempting to use incompatible return type
> [javac] found : org.postgresql.jdbc2.Statement
> [javac] required: java.sql.Statement
> [javac] public class Jdbc2ResultSet extends org.postgresql.jdbc2.AbstractJdbc2ResultSet implements java.sql.ResultSet
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [javac] 11 errors
> --
> Tatsuo Ishii
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Luis Alberto Amigo Navarro 2002-07-29 09:32:46 question on backends
Previous Message Christopher Kings-Lynne 2002-07-29 07:06:05 Re: [GENERAL] Stats Collector