Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group