Re: serialized objects and JDBC driver - Mailing list pgsql-jdbc

From David Wall
Subject Re: serialized objects and JDBC driver
Date
Msg-id 01c501c0abe2$c1411380$5a2b7ad8@expertrade.com
Whole thread Raw
In response to serialized objects and JDBC driver  (Stuart Barlow <sbarlow@peopledoc.com>)
List pgsql-jdbc
> ByteArrayInputStream bis = new ByteArrayInputStream(data);
>          ObjectInputStream p = new ObjectInputStream(bis);
>          EncryptionInfo ei = (EncryptionInfo)p.readObject();

Are you using setBytes/getBytes in JDBC?  That's worked for me when the SQL
type is OID on 7.1beta4.

David


pgsql-jdbc by date:

Previous
From: "Dax Duskin"
Date:
Subject: Re: unset problem and installing jdbc
Next
From: "David Wall"
Date:
Subject: SQL CHAR type using setByte()