Current CVS will not compile

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Current CVS will not compile
Дата
Msg-id 200108211534.f7LFYmV13681@candle.pha.pa.us
обсуждение исходный текст
Ответы RE: Current CVS will not compile
Список pgsql-jdbc
Can someone look at current CVS and send me a patch so it compiles
again?  Not sure about the case but it may have to do with Array.

---------------------------------------------------------------------------

compile:
    [javac] Compiling 3 source files to /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/build
    [javac]
/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/CallableStatement.java:311:The
methodorg.postgresql.jdbc2.Array getArray(int) declared in class org.postgresql.jdbc2.CallableStatement cannot override
themethod of the same signature declared in interface java.sql.CallableStatement.  They must have the same return type. 
    [javac]     public Array getArray(int i) throws SQLException
    [javac]                  ^
    [javac] /usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java:106:
classorg.postgresql.jdbc2.PreparedStatement is an abstract class. It can't be instantiated. 
    [javac]     PreparedStatement s = new PreparedStatement(this,sql);
    [javac]                           ^
    [javac]
/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java:32:class
org.postgresql.jdbc2.PreparedStatementmust be declared abstract. It does not define void setArray(int, java.sql.Array)
frominterface java.sql.PreparedStatement. 
    [javac] public class PreparedStatement extends Statement implements java.sql.PreparedStatement
    [javac]              ^
    [javac] 3 errors

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Robert B. Easter"
Дата:
Сообщение: Serialize and object-oriented features
Следующее
От: Peter Eisentraut
Дата:
Сообщение: RE: select on multiple tables