Thread: JDBC Driver & ResultSet.setFetchSize(int rows)

JDBC Driver & ResultSet.setFetchSize(int rows)

From
"RAFA"
Date:
Hi.

Can I use the method "ResultSet.setFetchSize(int rows)" with the jdbc for
PostgreV.7.2?

Where can I find the methods that can I use with the JDBC? (Javadoc of
Postgre.JDBC)

Thanks.
Rafa.




Re: JDBC Driver & ResultSet.setFetchSize(int rows)

From
Barry Lind
Date:

RAFA wrote:
> Hi.
>
> Can I use the method "ResultSet.setFetchSize(int rows)" with the jdbc for
> PostgreV.7.2?

I think you can use the method, but it will not have any effect.

>
> Where can I find the methods that can I use with the JDBC? (Javadoc of
> Postgre.JDBC)
>

The best thing to do would be to ask the DatabaseMetadata object which
jdbc features are supported by the driver.  Other than that the source
code can be very helpful for questions like this.

thanks,
--Barry