Re: [INTERFACES] JDBC compile error

Поиск
Список
Период
Сортировка
От Pap Tibor
Тема Re: [INTERFACES] JDBC compile error
Дата
Msg-id 19980727100854.45960@op.edasz.hu
обсуждение исходный текст
Ответ на Re: [INTERFACES] JDBC compile error  (Peter T Mount <peter@retep.org.uk>)
Ответы Re: [INTERFACES] JDBC compile error  (Cyril Ferrand <Cyril.Ferrand@sophia.inria.fr>)
Re: [INTERFACES] JDBC compile error  (Peter T Mount <peter@retep.org.uk>)
Список pgsql-interfaces
On Thu, Jul 23, 1998 at 06:44:17PM +0100, Peter T Mount wrote:
> # unset CLASSPATH
>
> then run make. These errors are caused by javac getting confused by both
> the postgresql and java.sql packages
>
> This is covered in the README and in the faq
>
Yes, I have read the README, but:

papipc# unset CLASSPATH
papipc# echo $CLASSPATH

papipc#
papipc# make

postgresql/CallableStatement.java:213: Method redefined with different
return type: postgresql.BigDecimal getBigDecimal(int, int) was
java.math.BigDecimal
getBigDecimal(int, int)
  public BigDecimal getBigDecimal(int parameterIndex, int scale)
                    ^
./postgresql/PreparedStatement.java:0: Class java.math.BigDecimal not
found in type declaration.
package postgresql;
^
./postgresql/PreparedStatement.java:27: class postgresql.PreparedStatement
must be declared abstract. It does not define void setBigDecimal(int,
java.math.BigDecimal) from interface java.sql.PreparedStatement.
public class PreparedStatement extends Statement implements
java.sql.PreparedStatement

[...]

./postgresql/DatabaseMetaData.java:2058: class postgresql.ResultSet is an
abstract class. It can't be instantiated.
    return new ResultSet(connection, f, v, "OK", 1);
           ^
./postgresql/DatabaseMetaData.java:2433: class postgresql.ResultSet is an
abstract class. It can't be instantiated.
    return new ResultSet(connection, f, v, "OK", 1);
           ^
21 errors
make: *** [postgresql/CallableStatement.class] Error 1


So, I got the same errors!

--Tibor

--
---------.Sig--------
Tibor Pap <papt@edasz.hu>
---------------------

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

Предыдущее
От: Michael Yeung
Дата:
Сообщение: Problem of using Access '97 to open db
Следующее
От: Sergei Barbarash
Дата:
Сообщение: Translation DLL for ODBC