Re: oid int issue with CachedRowSet upgrading from JDBC 8.4 to 9.1

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: oid int issue with CachedRowSet upgrading from JDBC 8.4 to 9.1
Дата
Msg-id alpine.BSO.2.00.1203122035430.1378@leary.csoft.net
обсуждение исходный текст
Ответ на oid int issue with CachedRowSet upgrading from JDBC 8.4 to 9.1  (otran <otran@switchfly.com>)
Список 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 по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: oid int issue with CachedRowSet upgrading from JDBC 8.4 to 9.1
Следующее
От: patrick.balleux@gmail.com
Дата:
Сообщение: MoveToInsertRow on a table without a primary key