Re: serialized objects and JDBC driver

From: "David Wall" <d(dot)wall(at)computer(dot)org>
To: <pgsql-jdbc(at)postgresql(dot)org>, "Stuart Barlow" <sbarlow(at)peopledoc(dot)com>
Subject: Re: serialized objects and JDBC driver
Date: 2001-03-13 17:26:34
Message-ID: 01c501c0abe2$c1411380$5a2b7ad8@expertrade.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Wall 2001-03-13 21:58:34 SQL CHAR type using setByte()
Previous Message Dax Duskin 2001-03-13 16:01:46 Re: unset problem and installing jdbc