BYTEA dump compatibility

Поиск
Список
Период
Сортировка
От Pier Paolo Bortone
Тема BYTEA dump compatibility
Дата
Msg-id FB45B97062D360448BF37D5CE01857C805CDC1@brunello.noema.it
обсуждение исходный текст
Список pgsql-jdbc
Hi all,
I have a database populated with jdbc7.2dev on postgres 7.1. I have used
BYTEA fields to store serialized java object.
I have to transport the existing data from version 7.1 to version 7.3.1.
The dump and import procedure runs well, but if I try to read the BYTEA
on new db (7.3.1) with new JDBC Driver, my deserialize procedure throws
an error (InputStream does not contain a serialized object).
I have used setBynaryStream and getBynaryStream to write and read
object.
If I use the old JDBC Driver (jdbc7.2dev) on new postgres (7.3.1) then
all runs well.

Is there a BUG in new jdbc driver?

Thanks in advance at all.

Pier Paolo.



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Achilleus Mantzios
Дата:
Сообщение: 7.3.1 UTF-8 bug(?) and 7.2.x Charset compatibility
Следующее
От: Achilleus Mantzios
Дата:
Сообщение: Re: 7.3.1 UTF-8 bug(?) and 7.2.x Charset compatibility