Re: JDBC does not compile - Mailing list pgsql-hackers

From Dave Cramer
Subject Re: JDBC does not compile
Date
Msg-id 1027934907.921.18.camel@inspiron.cramers
Whole thread Raw
In response to JDBC does not compile  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: JDBC does not compile
List 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;
attemptingto 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@postgresql.org)
> 
> 





pgsql-hackers by date:

Previous
From: "Luis Alberto Amigo Navarro"
Date:
Subject: question on backends
Next
From: "Luis Alberto Amigo Navarro"
Date:
Subject: Re: Question about LWLockAcquire's use of semaphores instead of spinlocks