Re: JDBC3 and 7.4.1 - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: JDBC3 and 7.4.1
Date
Msg-id Pine.LNX.4.33.0402201425050.29060-100000@leary.csoft.net
Whole thread Raw
In response to JDBC3 and 7.4.1  (Ranjeet Kapur <ranjeet_kapur@yahoo.com>)
Responses Re: JDBC3 and 7.4.1  (Ranjeet Kapur <ranjeet_kapur@yahoo.com>)
List pgsql-jdbc

On Fri, 20 Feb 2004, Ranjeet Kapur wrote:

> Hi,
>
>              ResultSet rs = select_stmnt.executeQuery(query);
>              System.out.println("Select Size = " + rs.getFetchSize());
>              num_entries = rs.getFetchSize();
>

getFetchSize does not return the number of result rows.  It did prior to
7.4, but that was just an implementation artifact and should not have been
relied on.

Kris Jurka



pgsql-jdbc by date:

Previous
From: Bhushan Bhangale
Date:
Subject: Re: table name in caps
Next
From: Ranjeet Kapur
Date:
Subject: Re: JDBC3 and 7.4.1