Re: setObject(col, blob) throws PSQLException - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: setObject(col, blob) throws PSQLException
Date
Msg-id Pine.BSO.4.61.0509291155270.25137@leary.csoft.net
Whole thread Raw
In response to setObject(col, blob) throws PSQLException  (Marc Herbert <Marc.Herbert@emicnetworks.com>)
List pgsql-jdbc

On Thu, 29 Sep 2005, Marc Herbert wrote:

> So does setObject(col, blob, Types.Blob).
>
> Whereas setBlob(col, blob) works fine in the same test case.
>
> This case is like missing in the big switch found in the code.
> Is this on purpose?

No, that's an oversight which I'll fix.  Perhaps we were concerned about
trying to do a conversion for something like setObject(col, "string data",
Types.BLOB)?

Kris Jurka


pgsql-jdbc by date:

Previous
From: Alfredo Rico
Date:
Subject: Re: How to retieve binary data (bytea) without problem ?
Next
From: Kris Jurka
Date:
Subject: Re: How to retieve binary data (bytea) without problem ?