Re: JDBC does not compile
От | Dave Cramer |
---|---|
Тема | Re: JDBC does not compile |
Дата | |
Msg-id | 1027934907.921.18.camel@inspiron.cramers обсуждение исходный текст |
Ответ на | JDBC does not compile (Tatsuo Ishii <t-ishii@sra.co.jp>) |
Ответы |
Re: JDBC does not compile
|
Список | 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 по дате отправления: