Re: jdbc integer value oid to big!

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Danny Schueler <danny(dot)schueler(at)bvv(dot)bayern(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: jdbc integer value oid to big!
Date: 2007-03-05 16:38:51
Message-ID: 45EC479B.3030208@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Danny Schueler wrote:
> in short: The software detects the db-oids, determies the type of the values with the
> TypeInfoCache and gets Integer. The following attemt, to get the variable in it's original type,
> fails and results in an error!
> The database can handle integer values with max. values until 2^32 as oid (unsigned),
> the jdbc can handle only 2^31 (signed).
>
> What can i do, to fix this Problem?

That was fixed in CVS head few weeks ago. If you need the fix
immediately, you can checkout the latest CVS version and build the
driver yourself.

I think we should backpatch the fix...

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jeff Lanzarotta 2007-03-05 17:16:50 Exception on call to isValid() method
Previous Message Heikki Linnakangas 2007-03-05 16:12:50 Re: JDBC driver bug?