Topic
No replies
_Sami_
_Sami_
1 Post
ACCEPTED ANSWER

Pinned topic Blob insertion into DB2 Through portlet factory

‏2008-02-05T00:28:22Z |
I have a table
fileUploads(cmID varchar(50) not null primary key,uploadedFile blob(10000))

and SQL Builder having SQL like
INSERT INTO "DB2INST1"."FILEUPLOADS" (CMID,UPLOADEDFILE) VALUES (?,?)

Also have exposed a service operation on top of it

and trying to this service operation through LJO
In this LJO I have the full path of file, now how do I convert this file into a blob and then call service operation.

Your comments are appreciated