BYTEA dump compatibility
BYTEA dump compatibility
От:
"Pier Paolo Bortone" <pierpaolo.bortone@noema.it>
Дата:
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.