Re: oid int issue with CachedRowSet upgrading from JDBC 8.4 to 9.1 - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: oid int issue with CachedRowSet upgrading from JDBC 8.4 to 9.1
Date
Msg-id alpine.BSO.2.00.1203122035430.1378@leary.csoft.net
Whole thread Raw
In response to oid int issue with CachedRowSet upgrading from JDBC 8.4 to 9.1  (otran <otran@switchfly.com>)
List pgsql-jdbc

On Fri, 9 Mar 2012, otran wrote:

> We are in the process of upgrading from Postgres JDBC 8.4 to 9.1-901-1.jdbc4
> and discovered that CacheRowSet now call the methods isAutoIncrement() and
> fetchFieldMetaData(), which will fail converting a OID to an int.
>

I have pushed a fix for this to git for 9.1 and master.  Thanks for the
report.

I've found another problem with master for binary transfer setup with high
OIDs.  If people want to test this situation and don't have a high
oid use database handy, you can set the oid counter to an arbitrary
value with pg_resetxlog.


Kris Jurka

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: oid int issue with CachedRowSet upgrading from JDBC 8.4 to 9.1
Next
From: patrick.balleux@gmail.com
Date:
Subject: MoveToInsertRow on a table without a primary key