aspose file tools*
The moose likes JDBC and the fly likes Uploaded file to database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Uploaded file to database" Watch "Uploaded file to database" New topic
Author

Uploaded file to database

Avik Mazunder
Ranch Hand

Joined: Jun 27, 2012
Posts: 39

I have coded the following to set the uploaded data to database...



In oracle i have declared that datatype as BLOB....But when I am viewing the table it is showing (HUGE BLOB) as content....What data type should be appropriate for this..

My second problem is getFiledesc() and getFileDept() cant getting the value from the textbox....It is getting null....Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Uploaded file to database