On Mon, 1 Aug 2005, Andrus Adamchik wrote:

> Just tested it with build 312 and the original problem went away. Now  
> I am seeing a new problem with null BLOBs only:
> 
> java.sql.SQLException: ERROR: column "blob_col" is of type bytea but  
> expression is of type oid

bytea is not the correct type to use when storing Blobs.  You need to use 
oid as the underlying type, or if you want to use bytea you need to use 
setBytes or setNull(x, Types.BINARY).

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to