Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....
Дата
Msg-id 200105081501.f48F19w28246@candle.pha.pa.us
обсуждение исходный текст
Ответ на AGAIN: still no answer ... peter, or anybody knowledgeable, please ....  (Mark Rosa <rosa@etekt.com>)
Ответы Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....
Список pgsql-jdbc
> dear all,
>
> unfortunately the jdbc1 driver can't be compiled.
> there are several errors popping up when compiling --with-java and also
> when i try to compile the jdbc interface individually:
>
> i already figured out two mistypings in the Statement.java file in
> src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java
>
> 1. in the first line peter wrote 'nackage' instead of 'package'

I don't see that error in the current sources.

> 2. on line 291 peter wrote
> if (result != null && ((org.postgresql.ResultSet)result.reallyResultSet())
> instead of
> if (result != null && ((org.postgresql.ResultSet)result).reallyResultSet())

The current CVS sources look wrong to me.  It has:

  if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())

Shouldn't this be:

  if (result != null && ((org.postgresql.ResultSet)result.reallyResultSet()))

Not sure if the extra parens are needed for:

  if (result != null && ((org.postgresql.ResultSet)result).reallyResultSet())

Comments?

--
  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 по дате отправления:

Предыдущее
От: Palle Girgensohn
Дата:
Сообщение: Re: [INTERFACES] Trouble with JDBC2 ResultSet.getDate()
Следующее
От: Palle Girgensohn
Дата:
Сообщение: Re: AGAIN: still no answer ... peter, or anybody knowledgeable,please ....