Re: Strange JDBC error mesg

From: Barry Lind <barry(at)xythos(dot)com>
To: Arsalan Zaidi <azaidi(at)directi(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Strange JDBC error mesg
Date: 2002-02-01 06:41:44
Message-ID: 3C5A38A8.7050705@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

Arsalan,

This is a bug in the driver that is already fixed in current sources.
If you download the latest 7.2 driver from jdbc.postgresql.org you will
have the fix for this bug.

Basically the driver was storing the oid in an int. The value you have
is overflowing the value allowed for a signed int.

thanks,
--Barry

Arsalan Zaidi wrote:

> ------SQL Exception !! -----
> Error Message : Unable to fathom update count INSERT 2720759883 1
> SQL State : null
> Error Code : 0
>
> Any idea why I'm getting this? The queries been working fine for weeks and
> even now when I run it from psql, it runs without a hitch. But I've started
> to get this error when I run it from a Java program using JDBC.
>
> db version = 7.1.3
> JDBC driver = from the same source tree.
>
> --Arsalan.
>
>
> -------------------------------------------------------------------
> People often hate those things which they do not know, or cannot understand.
> --Ali Ibn Abi Talib (AS)
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Arsalan Zaidi 2002-02-01 07:41:06 Re: Strange JDBC error mesg
Previous Message Arsalan Zaidi 2002-02-01 06:14:18 Strange JDBC error mesg

Browse pgsql-jdbc by date

  From Date Subject
Next Message Sulakshana Awsarikar 2002-02-01 06:59:36 Re: getConnection() method of PreparedStatement
Previous Message Arsalan Zaidi 2002-02-01 06:14:18 Strange JDBC error mesg