Thread: JDBC Trouble

JDBC Trouble

From
"Massimo Luise"
Date:
Hello to all,
I'm writing because i have noticed a problem with the JDBC driver:
JDBC specification say that "ResultSet.absolute( 1 )" is equivalent to
"ResultSet.first()". With the postgresql jdbc driver this is not true.
I suppose that this problem happens because theVector implementation of
ResultSet.

There is someone that has investigated this problem and can help me ?

Thanks to all.
Max



Re: JDBC Trouble

From
Bruce Momjian
Date:
> Hello to all,
> I'm writing because i have noticed a problem with the JDBC driver:
> JDBC specification say that "ResultSet.absolute( 1 )" is equivalent to
> "ResultSet.first()". With the postgresql jdbc driver this is not true.
> I suppose that this problem happens because theVector implementation of
> ResultSet.
>
> There is someone that has investigated this problem and can help me ?
>
> Thanks to all.
> Max
>
>
>


--
  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

Re: JDBC Trouble

From
Bruce Momjian
Date:
We have had a number of fixes in the 7.1 beta JDBC driver.  Would you test
that and let us know if it is still broken.  You can get the JAR file
from the JDBC website at http://www.retep.org.uk.



> Hello to all,
> I'm writing because i have noticed a problem with the JDBC driver:
> JDBC specification say that "ResultSet.absolute( 1 )" is equivalent to
> "ResultSet.first()". With the postgresql jdbc driver this is not true.
> I suppose that this problem happens because theVector implementation of
> ResultSet.
>
> There is someone that has investigated this problem and can help me ?
>
> Thanks to all.
> Max
>
>
>


--
  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

Re: [INTERFACES] Re: JDBC Trouble

From
Joseph Shraibman
Date:
It looks like it is fixed in the current sources.  He probably had an
old version.

Bruce Momjian wrote:
>
> We have had a number of fixes in the 7.1 beta JDBC driver.  Would you test
> that and let us know if it is still broken.  You can get the JAR file
> from the JDBC website at http://www.retep.org.uk.
>
> > Hello to all,
> > I'm writing because i have noticed a problem with the JDBC driver:
> > JDBC specification say that "ResultSet.absolute( 1 )" is equivalent to
> > "ResultSet.first()". With the postgresql jdbc driver this is not true.
> > I suppose that this problem happens because theVector implementation of
> > ResultSet.
> >
> > There is someone that has investigated this problem and can help me ?
> >
> > Thanks to all.
> > Max
> >
> >
> >
>
> --
>   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

--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio.  http://www.targabot.com