Re: JVM & JDBC Upgrade --- Help !!

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: craig(dot)golby(at)dignitas(dot)ltd(dot)uk
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JVM & JDBC Upgrade --- Help !!
Date: 2011-09-22 23:42:17
Message-ID: CA+0W9LM8RgyoQbFK_UBZfSt_nLxTitbtRBveM9FVZTNxWTrXkQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 23 September 2011 11:16, Craig Golby <craig(dot)golby(at)dignitas(dot)ltd(dot)uk> wrote:

>         int rowCount = rsID.getFetchSize();

Well, there's your problem, getFetchSize() doesn't return the number
of rows in a resultset, it returns whatever fetch size is in use,
which defaults to 0.
(That's probably something that has changed since the 7.3 driver - the
7.3 driver did do some odd nonstandard things in that area, and if you
relied on them then yes your code will break)

Oliver

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Amar Dhole 2011-09-23 06:31:13 use of savepoint in containter managed transaction
Previous Message Craig Golby 2011-09-22 23:16:00 Re: JVM & JDBC Upgrade --- Help !!