db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mithun Ruikar <mithunrui...@yahoo.com>
Subject How to set value to Blob field of derby-made-table.
Date Tue, 15 Feb 2005 19:42:48 GMT
Hello there , 
I have problem while setting Blob value to table created in derby.
I had created : a datasource by parameter create=true.
and then created new table in it with one column with Datatype as Blob.
But when I tried to setObject value to this column ( by serializable object awt.color)
It gave derby exception : trying to get Blob value from Object type.
setBlob also didnt work with error saying : this method is undefined for (int , Object)
and if i typecast it to (int , (Blob) Object) : I got classcastexception.
please tell me how to set this value to blob field
-- mithun

Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'
View raw message