Re: Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please .... - Mailing list pgsql-jdbc

From Bruce Momjian
Subject Re: Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....
Date
Msg-id 200105081629.f48GTPe04630@candle.pha.pa.us
Whole thread Raw
In response to Re: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....  (Michael Stephenson <mstephenson@tirin.openworld.co.uk>)
List pgsql-jdbc
> > 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 by date:

Previous
From: Palle Girgensohn
Date:
Subject: Re: Re: [INTERFACES] Trouble with JDBC2 ResultSet.getDate()
Next
From: Bruce Momjian
Date:
Subject: Re: getScale() and getPrecision() patch