Re: JDBC3 and 7.4.1

From: Kris Jurka <books(at)ejurka(dot)com>
To: Ranjeet Kapur <ranjeet_kapur(at)yahoo(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC3 and 7.4.1
Date: 2004-02-20 19:26:24
Message-ID: Pine.LNX.4.33.0402201425050.29060-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Ranjeet Kapur 2004-02-20 20:21:00 Re: JDBC3 and 7.4.1
Previous Message Waldomiro 2004-02-20 19:21:52 I forgot the "Begin" command, what should I do ?