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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....
Дата
Msg-id 200105090320.f493KM722702@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....  (Barry Lind <barry@xythos.com>)
Список pgsql-jdbc
Yes, got it.

> Bruce,
>
> You should be able to remove this item from your patches list.  You
> applied a patch that fixed the root problem today.  That patch to
> org/postgresql/jdbc1/Statement.java added a missing parenthesis.  That
> fixes the bug.  The further sugestion in the below mail note (to declare
> the object as a org.postgresql.ResultSet instead of the 11 casts) is a
> different way to fix the same problem.  But since the bug is fixed I
> don't see a reason to keep this item on the patches list.
>
> thanks,
> --Barry
>
> Bruce Momjian wrote:
>
> >>> Comments?
> >>
> >> The extra parenthesis are required (since java.sql.ResultSet doesn't
> >> have a method 'reallyResultSet()' which returns an object which can be
> >> succesfully cast as a 'org.postgresql.ResultSet), but I think it would be
> >> cleaner just to declare 'result' as 'org.postgresql.ResultSet' on line 27,
> >> that way none of the messy casts (of which there are 11) would be
> >> required..
> >
> >
> > I can apply a patch, but it is beyond my ability to code that.
> >
>
>

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

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....
Следующее
От: Mark Rosa
Дата:
Сообщение: Re: JDBC Download.