dbTalk Databases Forums  

Re: [BUGS] [JDBC] BUG #1780: JDBC driver "setNull" throws for BLOB and CLOB

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] [JDBC] BUG #1780: JDBC driver "setNull" throws for BLOB and CLOB in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kris Jurka
 
Posts: n/a

Default Re: [BUGS] [JDBC] BUG #1780: JDBC driver "setNull" throws for BLOB and CLOB - 08-01-2005 , 10:15 AM








On Mon, 1 Aug 2005, Andrus Adamchik wrote:

Quote:
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 With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.