Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....
От | Barry Lind |
---|---|
Тема | Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please .... |
Дата | |
Msg-id | 3AF8B6A2.8090503@xythos.com обсуждение исходный текст |
Ответ на | Re: Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please .... (Bruce Momjian <pgman@candle.pha.pa.us>) |
Ответы |
Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please
....
|
Список | pgsql-jdbc |
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. >
В списке pgsql-jdbc по дате отправления: