Re: setObject(col, blob) throws PSQLException

From: Kris Jurka <books(at)ejurka(dot)com>
To: Marc Herbert <Marc(dot)Herbert(at)emicnetworks(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: setObject(col, blob) throws PSQLException
Date: 2005-09-29 16:57:46
Message-ID: Pine.BSO.4.61.0509291155270.25137@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2005-09-29 17:06:13 Re: How to retieve binary data (bytea) without problem ?
Previous Message Alfredo Rico 2005-09-29 13:52:53 Re: How to retieve binary data (bytea) without problem ?