BYTEA dump compatibility

From: "Pier Paolo Bortone" <pierpaolo(dot)bortone(at)noema(dot)it>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: BYTEA dump compatibility
Date: 2003-01-28 10:59:28
Message-ID: FB45B97062D360448BF37D5CE01857C805CDC1@brunello.noema.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Achilleus Mantzios 2003-01-28 12:05:54 7.3.1 UTF-8 bug(?) and 7.2.x Charset compatibility
Previous Message Mykola Dudar 2003-01-28 00:38:49 Re: how to get info about tables in remote dB?