File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Please help JSF -- How to save UploadItem.getData() object as CLOB object in DataBase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Please help JSF -- How to save UploadItem.getData() object as CLOB object in DataBase " Watch "Please help JSF -- How to save UploadItem.getData() object as CLOB object in DataBase " New topic
Author

Please help JSF -- How to save UploadItem.getData() object as CLOB object in DataBase

Bhaskar Sinha
Greenhorn

Joined: May 20, 2009
Posts: 5
I am new to using ajax in JSF.
I have used the following link for file upload and it is working fine.
http://livedemo.exadel.com/richfaces-demo/richfaces/fileUpload.jsf

I am getting the contents of the file by getData() method as per the example.

Now how will I save this object as Clob Object in database.(I am using Oracle 10g).

Please help me I am in a fix..
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

loveJsf workHard please check your private messages.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Please help JSF -- How to save UploadItem.getData() object as CLOB object in DataBase